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

mysql - FireDac error 314 - but DLLs are in program directory -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -