Solved

Do Cognite OData APIs also offer cursor implementation like cursor capabilities on Cognite REST endpoints?

  • 23 January 2023
  • 1 reply
  • 20 views

Badge

Do Cognite OData APIs also offer have cursor implementation like cursor capabilities on REST endpoints?

icon

Best answer by Dag Brattli 24 January 2023, 08:55

View original

1 reply

Yes, look for the `"@odata.nextLink"` in the JSON response when requesting an entity collection such as Assets. This is the URL you need to use to get the next page in the collection. See example at https://www.odata.org/getting-started/basic-tutorial/ for retrieving entity collections. Note that no cursors on expanded properties. I.e you should navigate to DataPoints and list the entity set, instead of expanding DataPoints within TimeSeries.

Reply