Skip to content

Fetch all releases via API, response pagination? #24376

Discussion options

You must be logged in to vote

In case it is helpful, I loop from

https://api.github.com/repos/myorg/myrepo/releases?page=N

Until I get an empty JSON response

I use this instead of trying to parse the response HTTP Link header

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant