-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release API does not expose attachments #711
Comments
Curious, since POSTing files to releases isn't supported yet, is there any work around to create releases with files attached to them? I am looking at automating a release process via jenkins. EDIT: looks like you can do this in two steps currently.
|
I'am currently working on this issue. We are calling |
@JonasFranzDEV It should be whatever GitHub API is calling it 🙂 |
Description
Releases can now have attachments #673 🎉 But the API was not updated to reflect this 🙁
The bare minumum for basic functionality are:
/repos/:owner/:repo/releases[/:id]
withGET /repos/:owner/:repo/releases/:id/assets
GET /repos/:owner/:repo/releases/assets/:id
Nice to have but could be it's own PR
PATCH /repos/:owner/:repo/releases/assets/:id
DELETE /repos/:owner/:repo/releases/assets/:id
POST /repos/:owner/:repo/releases/:id/assets?name=foo.zip
Ref: https://developer.github.com/v3/repos/releases/#list-assets-for-a-release
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41166037-release-api-does-not-expose-attachments?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: