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 branches and tags via ls-remote, each annotated with the commit it currently resolves to.
This operation queries the external system in real time and may take several seconds.
Scope: source:read
Authorization
bearerAuth Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer admp_...
In: header
Path Parameters
Unique identifier of the source to query versions for (UUID).
uuidQuery Parameters
Maximum number of versions to return per page. Defaults to 50 when omitted or 0; must not exceed 100.
int320 <= value <= 100Opaque pagination token for fetching additional versions.
Response Body
application/json
curl -X GET "https://api.admiral.io/api/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions"{ "versions": [ { "version": "string", "published_at": "2023-01-15T01:30:15.01Z", "description": "string", "kind": "SOURCE_REF_KIND_UNSPECIFIED", "resolved": "string" } ], "next_page_token": "string"}List sources GET
Scope: `source:read`
Test a source POST
A credential in isolation cannot be meaningfully tested. A GitHub PAT is just a string until a target URL is known. TestSource is where the "attach credential, verify it works" flow lives. This operation queries the external system in real time and may take several seconds. Scope: `source:write`