Is there any relationship between cursor id and node id in Github v4 API?

I am trying to do pagination for the issues in a repository, I want the next cursor id to be automatically calculated based on the node id, is there any possible way? Or is there a way to form the next cursor id based on the startCursor without accessing the nextCursor value?

No, there isn’t a method to calculate the next cursor value outside of requesting it from the API.

Let us know if you have more questions.

1 Like