Admiral

Projects

List change sets

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

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.

Query Parameters

page_size?page_size

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

Formatint32
Range0 <= value <= 100
page_token?page_token

Opaque pagination token from a previous response.

filter?filter

An AIP-160 filter expression. Filterable fields are status and title.

Example: status = OPEN AND title = "Bump web to 2.3.0"

id is filterable too: id = "a" OR id = "b" reads up to 100 of them by id in one call.

Lengthlength <= 4096
order_by?order_by

Fields to order by, in AIP-132 syntax such as created_at desc. Accepted fields: created_at, updated_at and title. 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"
{  "change_sets": [    {      "id": "string",      "title": "string",      "resource_name": "string",      "description": "string",      "environment_id": "string",      "original_id": "string",      "revert_id": "string",      "latest_revision_id": "string",      "latest_run_id": "string",      "status": "STATUS_UNSPECIFIED",      "behind": true,      "etag": "string",      "created_by": {        "id": "string",        "display_name": "string",        "email": "string"      },      "created_at": "2023-01-15T01:30:15.01Z",      "updated_at": "2023-01-15T01:30:15.01Z"    }  ],  "next_page_token": "string"}