Projects
List a change set's revisions
Scope: changeset:read
Authorization
bearerAuth An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...
In: header
Path Parameters
The project id.
The environment id.
The changeset id.
Query Parameters
Maximum number of revisions to return per page; must not exceed 100.
int320 <= value <= 100Opaque pagination token from a previous response.
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.
length <= 256Response 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"}List change sets GET
Scope: `changeset:read`
Rebase a change set POST
Every conflict needs a resolution, and resolving any dismisses every approval. Without one, an approval carries to the new revision's run when its plan does the same thing to every resource, as ApproveRun says. - FAILED_PRECONDITION when it is not behind, when `if_revision` is not the latest revision's number, when the change set is not open or its apply is running, and when a conflict has no resolution or a resolution matches no conflict (the message names each). Scope: `changeset:write`