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
header
required

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.

Required string length: 3 - 128
Example:

"example_id"

tag_id
string
required

Tag identifier

Required string length: 3 - 128
Example:

"dv.tag.12a37e91-bfc4-4e03-a330-13b5b84ab7cb"

Response

200
application/json
Tag details returned

The response is of type object.