asset_id parameter
Get a release asset
To download the asset’s binary content, set the Accept
header of the request to application/octet-stream
. The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a 200
or 302
response.
Path Parameters
Response
application/json
Response
To download the asset’s binary content, set the Accept
header of the request to application/octet-stream
. The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a 200
or 302
response.
Release Asset
Data related to a release.
The file name of the asset.
Example:Team Environment
State of the release asset.
Allowed values:uploadedopen
Simple User
Show Child Parameters
Path Parameters
Update a release asset
Users with push access to the repository can edit a release asset.
Path Parameters
asset_id parameter
Body
application/json
Body
The file name of the asset.
An alternate short description of the asset. Used in place of the filename.
Example:"uploaded"
Response
200 application/json
Response
Response
Release Asset
Data related to a release.
The file name of the asset.
Example:Team Environment
State of the release asset.
Allowed values:uploadedopen
Simple User
Show Child Parameters
Path Parameters
Body
Delete a release asset
Path Parameters
asset_id parameter
Response
204
Response
Response
Path Parameters
Get the latest release
View the latest published full release for the repository.
The latest release is the most recent non-prerelease, non-draft release, sorted by the created_at
attribute. The created_at
attribute is the date of the commit used for the release, and not the date when the release was drafted or published.
Path Parameters
Response
200 application/json
Response
Response
Release
A release.
The name of the tag.
Example:v1.0.0
Specifies the commitish value that determines where the Git tag is created from.
Example:master
true to create a draft (unpublished) release, false to create a published one.
Example:false
Whether to identify the release as a prerelease or a full release.
Example:false
Simple User
Show Child Parameters
Data related to a release.
Show Child Parameters
Show Child Parameters
Path Parameters
Get a release by tag name
Get a published release with the specified tag.
Path Parameters
tag parameter
Response
application/json
Response
Response
Release
A release.
The name of the tag.
Example:v1.0.0
Specifies the commitish value that determines where the Git tag is created from.
Example:master
true to create a draft (unpublished) release, false to create a published one.
Example:false
Whether to identify the release as a prerelease or a full release.
Example:false
Simple User
Show Child Parameters
Data related to a release.