Admiral

Projects

Retrieve a live component's values

GET
/v1/projects/{project}/environments/{environment}/components/{component}/values
  • NOT_FOUND when no live component has that resource name.

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

project*string

The project id.

environment*string

The environment id.

component*string

The component id.

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/projects/string/environments/string/components/string/values"
{  "tree_json": "string",  "sources": [    {      "path": {        "segments": [          {            "key": "string"          }        ],        "display": "string"      },      "origin": "ORIGIN_UNSPECIFIED"    }  ],  "last_apply": {    "change_set_id": "string",    "revision_id": "string",    "applied_at": "2023-01-15T01:30:15.01Z",    "run_id": "string"  }}