GET
/repos/{owner}/{repo}/releases/{release_id}/assetsList release assets
Lists the assets attached to a specific release in a repository. Use per_page and page to control the paginated result set, with up to 100 assets per page. Each result includes the asset's filename, state, download information, size, digest, timestamps, and uploader.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ownerstringrequired
The account owner of the repository; the name is not case sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case sensitive.
release_idintegerrequired
The unique identifier of the release whose assets to list.
per_pageintegeroptional
The number of results to return per page, up to 100. Defaults to 30 when omitted.
pageintegeroptional
The page number of results to fetch. Defaults to 1 when omitted.
200Returns an array of release assets, including each asset's identifiers, download URLs, filename, label, state, content type, size, digest, download count, timestamps, and uploader.
urlstringrequired
browser_download_urlstringrequired
idintegerrequired
node_idstringrequired
namestringrequired
The file name of the asset.
labelstringrequired
statestringrequired
State of the release asset.
content_typestringrequired
sizeintegerrequired
digeststringrequired
download_countintegerrequired
created_atstringrequired
updated_atstringrequired
uploaderobjectrequired
A GitHub user.
Error handling
owner, repo, and release_id must identify the release whose assets you want to list, and repo must omit the .git extension. per_page accepts a maximum of 100 results, while per_page defaults to 30 and page defaults to 1 when omitted. Use page and per_page to paginate the results.