LogoFreestyle
API Reference/Git

Get a tag object

Get a tag from the Git database.

GET/git/v1/repo/{repo_id}/git/tags/{hash}

Path Parameters

repo_idRequiredstring

The repository ID

hashRequiredstring

The tag hash

curl -X GET "https://api.freestyle.sh/git/v1/repo/<string>/git/tags/<string>"

Tag retrieved successfully

{
  "name": "string",
  "tagger": {},
  "message": "string",
  "target": {
    "sha": "string"
  },
  "sha": "string"
}