GET
/
repos
/
{repo_id}
/
tags
/
{tag_id}
curl --request GET \
  --url https://api.diversion.dev/v0/repos/{repo_id}/tags/{tag_id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "commit_id": "<string>",
  "description": "<string>",
  "id": "<string>",
  "author": {
    "image": "<string>",
    "email": "jsmith@example.com",
    "full_name": "<string>",
    "id": "<string>",
    "name": "<string>"
  },
  "time": 123
}

Authorizations

Authorization
string
headerrequired

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

tag_id
string
required

Tag identifier

Response

200 - application/json
name
string
required

Display name of the tag

commit_id
string
required

Commit ID that the tag references

description
string

More information about the tag

id
string
required

Tag identifier in Diversion

author
object
required

User details

time
number
required

Creation time