Skip to main content
GET
/
api
/
v1
/
repos
/
tags
List Tags
curl --request GET \
  --url https://api.{cluster}.code.storage/api/v1/repos/tags \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "next_cursor": "t_def456",
  "tags": [
    {
      "cursor": "t_abc123",
      "name": "v1.0.0",
      "sha": "a1b2c3d4e5f6"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string

Pagination cursor returned by a previous list_tags response.

limit
integer
default:20

Maximum number of tags to return. Defaults to 20.

Response

Repository tags in lexical order.

Paginated list of tags for the repository.

has_more
boolean
required

Whether more tags exist.

Example:

true

tags
object[]
required

List of tag objects.

next_cursor
string

Opaque cursor for the next page (absent when no more results).

Example:

"t_def456"