Admiral

Projects

Retrieve a component's values

GET
/v1/projects/{project}/environments/{environment}/changesets/{changeset}/components/{component}/values
  • NOT_FOUND when the change set has no such component.

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

project*string

The project id.

environment*string

The environment id.

changeset*string

The changeset id.

component*string

The component id.

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/projects/string/environments/string/changesets/string/components/string/values"
{  "tree_json": "string",  "base_digest": "string",  "result_digest": "string",  "latest_revision_number": 0,  "sources": [    {      "path": {        "segments": [          {            "key": "string"          }        ],        "display": "string"      },      "origin": "ORIGIN_UNSPECIFIED"    }  ]}