Sources
List source 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).
Format
uuidQuery Parameters
page_size?page_size
Maximum number of versions to return. Defaults to 50.
Format
int32Range
0 <= value <= 100page_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"}