v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at

get/repos/{owner}/{repo}/releases/latest

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Response

Release

bodystring

The release notes or description

created_atstring date-time
draftboolean

Whether the release is a draft

html_urlstring

The HTML URL to view the release

idinteger

The unique identifier of the release

namestring

The display title of the release

prereleaseboolean

Whether the release is a prerelease

published_atstring date-time
tag_namestring

The name of the git tag associated with the release

tarball_urlstring

The URL to download the tarball archive

target_commitishstring

The target commitish for the release

upload_urlstring

The URL template for uploading release assets

urlstring

The API URL of the release

zipball_urlstring

The URL to download the zip archive