git - How to list all releases of public repository with GitHub API V3 -


so per documentation https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository

get /repos/:owner/:repo/releases 

should list relases ,

https://api.github.com/repos/jquery/jquery/releases  

should list releases in jquery project , not , why ?

because repository doesn't have releases. has tags github presenting in releases page.

for more clear example, see:

https://github.com/hashicorp/terraform/releases

which has both releases , tags showing on page, api shows releases:

https://api.github.com/repos/hashicorp/terraform/releases


Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -