API Reference/Git
Get a tag object
Get a tag from the Git database.
GET
/git/v1/repo/{repo}/git/tags/{hash}
Path Parameters
repo
RequiredstringThe repository id
Format:
"uuid"
hash
RequiredstringThe object's hash
Response Body
200
Tag retrieved successfully
name
RequiredstringThe tag name
tagger
objectmessage
string | nullThe tag message
target
RequiredobjectThe object this tag points to
sha
RequiredstringThe tag's hash ID
400
Invalid request
message
Requiredstring403
Forbidden
message
Requiredstring404
Tag not found
message
Requiredstring500
Internal server error
message
RequiredstringTag retrieved successfully