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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -