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.
A complete list of member time series in the subscription.
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": 1,
- "instanceId": {
- "space": "string",
- "externalId": "string"
}
}
], - "nextCursor": "string"
}