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
"beta/src/api/alerts/alertsApi"
AlertsAPI
Class AlertsAPI
Hierarchy
BaseResourceAPI
<
Alert
>
AlertsAPI
Index
Constructors
constructor
Methods
close
create
create
Channels
create
Subscribers
create
Subscriptions
delete
Channels
delete
Subscribers
delete
Subscription
list
list
Channels
list
Subscribers
list
Subscriptions
update
Channels
Constructors
constructor
new
AlertsAPI
(
...
args
:
[
string
,
CDFHttpClient
,
MetadataMap
]
)
:
AlertsAPI
Parameters
Rest
...
args:
[
string
,
CDFHttpClient
,
MetadataMap
]
Returns
AlertsAPI
Methods
close
close
(
items
:
IdEither
[]
)
:
Promise
<
object
>
Parameters
items:
IdEither
[]
Returns
Promise
<
object
>
create
create
(
items
:
AlertCreate
[]
)
:
Promise
<
Alert
[]
>
Parameters
items:
AlertCreate
[]
Returns
Promise
<
Alert
[]
>
create
Channels
create
Channels
(
items
:
ChannelCreate
[]
)
:
Promise
<
Channel
[]
>
Parameters
items:
ChannelCreate
[]
Returns
Promise
<
Channel
[]
>
create
Subscribers
create
Subscribers
(
items
:
SubscriberCreate
[]
)
:
Promise
<
Subscriber
[]
>
Parameters
items:
SubscriberCreate
[]
Returns
Promise
<
Subscriber
[]
>
create
Subscriptions
create
Subscriptions
(
items
:
SubscriptionCreate
[]
)
:
Promise
<
Subscription
[]
>
Parameters
items:
SubscriptionCreate
[]
Returns
Promise
<
Subscription
[]
>
delete
Channels
delete
Channels
(
items
:
IdEither
[]
)
:
Promise
<
{}
>
Parameters
items:
IdEither
[]
Returns
Promise
<
{}
>
delete
Subscribers
delete
Subscribers
(
items
:
IdEither
[]
)
:
Promise
<
{}
>
Parameters
items:
IdEither
[]
Returns
Promise
<
{}
>
delete
Subscription
delete
Subscription
(
items
:
SubscriptionDelete
[]
)
:
Promise
<
{}
>
Parameters
items:
SubscriptionDelete
[]
Returns
Promise
<
{}
>
list
list
(
query
?:
AlertFilterQuery
)
:
CursorAndAsyncIterator
<
Alert
>
Parameters
Optional
query:
AlertFilterQuery
Returns
CursorAndAsyncIterator
<
Alert
>
list
Channels
list
Channels
(
filter
?:
ChannelFilterQuery
)
:
Promise
<
ListResponse
<
Channel
[]
>
>
Parameters
Optional
filter:
ChannelFilterQuery
Returns
Promise
<
ListResponse
<
Channel
[]
>
>
list
Subscribers
list
Subscribers
(
filter
?:
SubscriberFilterQuery
)
:
Promise
<
ListResponse
<
Subscriber
[]
>
>
Parameters
Optional
filter:
SubscriberFilterQuery
Returns
Promise
<
ListResponse
<
Subscriber
[]
>
>
list
Subscriptions
list
Subscriptions
(
filter
?:
SubscriptionFilterQuery
)
:
Promise
<
ListResponse
<
Subscription
[]
>
>
Parameters
Optional
filter:
SubscriptionFilterQuery
Returns
Promise
<
ListResponse
<
Subscription
[]
>
>
update
Channels
update
Channels
(
items
:
ChannelChange
[]
)
:
Promise
<
Channel
[]
>
Parameters
items:
ChannelChange
[]
Returns
Promise
<
Channel
[]
>
Globals
"beta/src/api/alerts/alerts
Api"
AlertsAPI
constructor
close
create
create
Channels
create
Subscribers
create
Subscriptions
delete
Channels
delete
Subscribers
delete
Subscription
list
list
Channels
list
Subscribers
list
Subscriptions
update
Channels