Search
Preparing search index...
The search index is not available
Cognite JavaScript SDK (beta)
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"stable/src/api/templates/viewsApi"
ViewsApi
Class ViewsApi
Hierarchy
BaseResourceAPI
<
View
>
ViewsApi
Index
Methods
create
delete
list
resolve
upsert
Methods
create
create
(
items
:
ExternalView
[]
)
:
Promise
<
View
[]
>
Parameters
items:
ExternalView
[]
Returns
Promise
<
View
[]
>
delete
delete
(
ids
:
ExternalId
[]
, options
?:
undefined
|
{
ignoreUnknownIds
:
boolean
}
)
:
Promise
<
{}
>
Parameters
ids:
ExternalId
[]
Optional
options:
undefined
|
{
ignoreUnknownIds
:
boolean
}
Returns
Promise
<
{}
>
list
list
(
query
?:
ViewFilterQuery
)
:
CursorAndAsyncIterator
<
View
>
Parameters
Optional
query:
ViewFilterQuery
Returns
CursorAndAsyncIterator
<
View
>
resolve
resolve<T>
(
resolveRequest
:
ViewResolveRequest
)
:
CursorAndAsyncIterator
<
T
>
Type parameters
T
Parameters
resolveRequest:
ViewResolveRequest
Returns
CursorAndAsyncIterator
<
T
>
upsert
upsert
(
items
:
ExternalView
[]
)
:
Promise
<
View
[]
>
Parameters
items:
ExternalView
[]
Returns
Promise
<
View
[]
>
Globals
"stable/src/api/templates/views
Api"
Views
Api
create
delete
list
resolve
upsert