Can the GitHub API return a list of repository's releases, along with the date each release was created?
The "releases" API is acting unexpectedly, e.g. 0 releases for rails:
>> curl https://api.github.com/repos/rails/rails/releases
[
]
Additionally, is there a way to know if a release is alpha, beta or stable?
Viewing releases On GitHub.com, navigate to the main page of the repository. To the right of the list of files, click Releases. At the top of the Releases page, click Releases.
Releases are deployable software iterations you can package and make available for a wider audience to download and use. Releases are based on Git tags, which mark a specific point in your repository's history. A tag date may be different than a release date since they can be created at different times.
Releases are first-class objects with changelogs. and binary assets that present a full project history beyond Git artifacts. They're accessible from a repository's homepage: Releases are accompanied by release notes and links to download the software. or source code.
Releases are GitHub's way of packaging and providing software to your users. You can think of it as a replacement to using downloads to provide software. With Releases, you can provide links to binary files, as well as release notes describing your changes. At their core, Releases are based on Git tags.
I don't think you can specifically do releases. But you can get tags.
curl https://api.github.com/repos/rails/rails/tags
Source: http://developer.github.com/v3/repos/#list-tags
Edit:
They released the releases API today.
http://developer.github.com/v3/repos/releases/
This question is old, however Google still lead me here and the answers are dated. So for any others that find themselves here:
GitHub has sense added a releases endpoint: https://docs.github.com/en/rest/reference/releases
An example of getting one (via curl
):
curl https://api.github.com/repos/rails/rails/releases
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With