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

Releases API - Get all releases for a repository

Solved! Go to Solution.

I am currently using ```repos/:owner/:repo/releases``` to find all the releases for a given project, but it currently only returns the last 30 releases for a project. I looked at using ```repos/:owner/:repo/tags``` instead but it also limits me to the last 30 releases.

 

What is the best API to use to collect all tags / releases a project has? 

 

2 Replies
Solution
Copilot Lvl 2
Message 2 of 3

Re: Releases API - Get all releases for a repository

I figured out my problem. I wasn't supportingpaginationhttps://developer.github.com/v3/#pagination ).

Community Manager
Message 3 of 3

Re: Releases API - Get all releases for a repository

Hey @robertmaynard,

 

Thank you for sharing what worked! We're looking forward to seeing you around!

 

Cheers,

Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!