Skip to main content
New

APIs available to fetch specific information for timeseries and subscription ?

  • June 30, 2024
  • 3 replies
  • 54 views

Hi there,

are there any existing APIs available or any plan that can provide below information specific to timeseries/subscription  for minimizing data retrieval overhead:

  1. list subscription  details of single subscription 
  2. to get list of external id of updated timeseries (if with metadata to avoid multiple API calls) from subscription (list members API provide all timeseries not only updated one) - (might be helpful to reduce response size excluding need to load all datapoints)
  3. In timeseries list API to get information if it is part of any subscription

Regards

3 replies

matiasholte
Practitioner ⭐️⭐️⭐️
  • Backend developer
  • July 1, 2024

We have Get subscriptions by ids to retrieve subscription details. If you want to list the time series in the subscription, see List subscription members.

You would need to do a separate API call to fetch metadata for the time series.

You can retrieve recently added/removed time series through the List subscription data, see the “subscriptionChanges” field in the response. Unfortunately, it will be mixed in with the data point updates, we have no way of only returning one of the fields.

We have not exposed any method for listing subscriptions that a time series is a member of, and I will suggest this as a new feature to product management. Especially given the current restriction that a time series can at most be part of 10 subscriptions.

I cannot say if or when we would prioritize this. Many of us are out on vacation in the summer, apologies for the delayed response.


Everton Colling
Expert ⭐️⭐️⭐️⭐️
Forum|alt.badge.img
  • Expert ⭐️⭐️⭐️⭐️
  • July 1, 2024

@Anita Hæhre could we turn this request into a Product Idea? This would allow other users to upvote, and we can follow up the tracktion this idea gets in the community.


Anita Hæhre
Expert ⭐️⭐️⭐️⭐️
Forum|alt.badge.img+3
  • Head of Community
  • July 1, 2024

Hi @Everton Colling absolutely! Done 🚀💡