Admiral
Sources

List source versions

GET
/api/v1/sources/{source_id}/versions

For Terraform registry sources, this calls the Module Registry Protocol's version listing endpoint. For Helm repositories, it parses the index.yaml. For OCI sources, it lists tags. For Git sources, it lists tags via ls-remote.

This operation queries the external system in real time and may take several seconds.

Scope: source:read

Authorization

bearerAuth
AuthorizationBearer <token>

Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer adm_pat_...

In: header

Path Parameters

source_id*source_id

Unique identifier of the source to query versions for (UUID).

Formatuuid

Query Parameters

page_size?page_size

Maximum number of versions to return. Defaults to 50.

Formatint32
Range0 <= value <= 100
page_token?page_token

Opaque pagination token for fetching additional versions.

Response Body

application/json

curl -X GET "https://admiral.example.com/api/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions"
{  "versions": [    {      "version": "string",      "published_at": "2023-01-15T01:30:15.01Z",      "description": "string"    }  ],  "next_page_token": "string"}