Admiral

Projects

List a change set's revisions

GET
/v1/projects/{project}/environments/{environment}/changesets/{changeset}/revisions

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.

Query Parameters

page_size?page_size

Maximum number of revisions to return per page; must not exceed 100.

Formatint32
Range0 <= value <= 100
page_token?page_token

Opaque pagination token from a previous response.

order_by?order_by

Fields to order by, in AIP-132 syntax such as created_at desc. Accepted fields: created_at and number. Left empty, the list keeps the order stated above. An unknown field is INVALID_ARGUMENT.

Lengthlength <= 256

Response Body

application/json

curl -X GET "https://example.com/v1/projects/string/environments/string/changesets/string/revisions"
{  "revisions": [    {      "id": "string",      "resource_name": "string",      "change_set_id": "string",      "number": 0,      "trigger": "TRIGGER_UNSPECIFIED",      "environment_generation": "string",      "entries": [        {          "component": "string",          "action": "ENTRY_ACTION_UNSPECIFIED",          "version": {            "component_id": "string",            "version_id": "string",            "digest": "string",            "requested": "string"          },          "base_digest": "string",          "result_digest": "string",          "ops": [            {              "path": {                "segments": [                  {                    "key": "string"                  }                ],                "display": "string"              },              "op": "KIND_UNSPECIFIED",              "value_json": "string",              "from_present": true,              "from_value_json": "string"            }          ],          "settings": {            "assignment_id": "string",            "kind": "AGENT_KIND_UNSPECIFIED",            "infra": {              "backend": {                "type": "string",                "config": {                  "property1": null,                  "property2": null                }              },              "engine": {                "engine": "ENGINE_UNSPECIFIED",                "version": "string"              }            }          },          "dependencies": [            "string"          ],          "consumes": [            "string"          ]        }      ],      "violations": [        {          "component": "string",          "path": {            "segments": [              {                "key": "string"              }            ],            "display": "string"          },          "message": "string"        }      ],      "created_by": {        "id": "string",        "display_name": "string",        "email": "string"      },      "created_at": "2023-01-15T01:30:15.01Z"    }  ],  "next_page_token": "string"}