v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Create a new git tag in a repository

post/repos/{owner}/{repo}/tags

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Request body

messagestring

The message to associate with the tag

tag_namestring required

The name of the tag to create

targetstring

The target commit SHA or branch name for the tag

Response

Tag

idstring

The ID (SHA) of the tag

messagestring

The message associated with the tag

namestring

The name of the tag

tarball_urlstring

The URL to download the tarball archive

zipball_urlstring

The URL to download the zipball archive