Admiral

Environments

Retrieve a live component's values

GET
/v1/environments/{environment_id}/components/{component}/values

Scope: env: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

environment_id*environment_id

The environment_id path parameter.

Match^env-[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 it receives, not only the values set on it.

Response Body

application/json

curl -X GET "https://example.com/v1/environments/string/components/string/values"
{  "tree_json": "string",  "sources": [    {      "path": [        {          "key": "string"        }      ],      "origin": "ORIGIN_UNSPECIFIED"    }  ],  "last_apply": {    "change_set_id": "string",    "revision_id": "string",    "applied_at": "2023-01-15T01:30:15.01Z"  }}