v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Create a release

post/repos/{owner}/{repo}/releases

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Request body

bodystring

The release notes or description

draftboolean

Whether to create the release as a draft

namestring

The display title of the release

prereleaseboolean

Whether to mark the release as a prerelease

tag_messagestring

The message for the git tag

tag_namestring required
target_commitishstring

The 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