v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Update a release

patch/repos/{owner}/{repo}/releases/{id}

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

idinteger required

id of the release to edit

Request body

bodystring

The new release notes or description

draftboolean

Whether to change the draft status

namestring

The new display title of the release

prereleaseboolean

Whether to change the prerelease status

tag_namestring

The new name of the git tag

target_commitishstring

The new target commitish for the release

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