from cognite.client.data_classes import DataPointSubscriptionUpdate
members = client.time_series.subscriptions.list_member_time_series("my_subscription")
timeseries_external_ids = members.as_external_ids(){
"items": [
{
"externalId": "my.known.id",
"id": 4503599627370496,
"instanceId": {
"space": "<string>",
"externalId": "<string>"
}
}
],
"nextCursor": "<string>"
}Required capabilities:
timeSeriesSubscriptionsAcl:READ
List all member time series for a subscription.
For non-filter subscriptions, either externalId or instanceId will be set. This is to be
able to see if each time series was added by external id or instance id. If a time series
has been added to a subscription both by external id and by instance id, it will be listed
twice in the output. If a time series that belonged to the subscription has been deleted,
id will not be set.
Use nextCursor to paginate through the results.
from cognite.client.data_classes import DataPointSubscriptionUpdate
members = client.time_series.subscriptions.list_member_time_series("my_subscription")
timeseries_external_ids = members.as_external_ids(){
"items": [
{
"externalId": "my.known.id",
"id": 4503599627370496,
"instanceId": {
"space": "<string>",
"externalId": "<string>"
}
}
],
"nextCursor": "<string>"
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Limit on the number of results to return.
1 <= x <= 100Cursor for paging through results. In general, if a response contains a nextCursor
property, it means that there may be more results, and you should pass that value as the
cursor parameter in the next request.
Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.
"4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo"
External id of the subscription. The external ID provided by the client. Must be unique for the resource type.
255"my.known.id"
A complete list of member time series in the subscription.
Was this page helpful?