Let’s start with a few questions:
- When a nextCursor value is returned from an API call, is this cursor value valid forever or does it expire?
- If it expires, how long is it guaranteed to be valid? (This documents part of the contract of the API.)
- When we call an API subsequent times with the same parameters and provide a cursor value, are we getting data at the time of the current API call or cached data from the first time the API was called with those parameters?
- If subsequent calls to the API with a cursor are NOT returning results of a cached copy and data has been inserted or deleted in the middle of the list while iterating through the cursors, is there any guarantee that data is not duplicated or skipped in the result sets returned?
Please add these tidbits to the docs here:
https://docs.cognite.com/dev/concepts/pagination/
Thanks!
Ben Brandt