Admiral

Changesets

Retrieve a component's values

GET
/v1/changesets/{change_set_id}/components/{component}/values

Scope: changeset:read

Authorization

bearerAuth
AuthorizationBearer <token>

An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...

In: header

Path Parameters

change_set_id*change_set_id

The change_set_id path parameter.

Match^cs-[0-9a-z]+$
component*component

The component path parameter.

Match^[a-z]([a-z0-9-]{0,51}[a-z0-9])?$
Length1 <= length <= 53

Query Parameters

effective?effective

Return the whole tree the component will receive: its own defaults, the organization's baseline, what the environment runs with, then this change set's edits. An upload never uses this view.

Response Body

application/json

curl -X GET "https://example.com/v1/changesets/string/components/string/values"
{  "tree_json": "string",  "base_digest": "string",  "result_digest": "string",  "head_revision": 0,  "sources": [    {      "path": [        {          "key": "string"        }      ],      "origin": "ORIGIN_UNSPECIFIED"    }  ]}