Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

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

Solved! Go to Solution.

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?

1 Reply
Solution
Community Manager
Message 2 of 2

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

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.