GET
/repos/{owner}/{repo}/tagsList repository tags
Lists the tags for a repository. Use page and per_page to paginate the results, with up to 100 tags per page.
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.
per_pageintegeroptional
The number of tags per page, up to 100. Defaults to 30 when omitted.
pageintegeroptional
The page number of tags to retrieve. Defaults to 1 when omitted.
200Returns an array of tag objects containing each tag's name, commit details, archive URLs, and node ID.
namestringrequired
commitobjectrequired
zipball_urlstringrequired
tarball_urlstringrequired
node_idstringrequired
Error handling
The owner and repo path parameters must identify an existing repository. per_page defaults to 30 when omitted and accepts a maximum of 100; page defaults to 1.