Admiral

Projects

Diff a change set

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

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.

Response Body

application/json

curl -X GET "https://example.com/v1/projects/string/environments/string/changesets/string/diff"
{  "revision_id": "string",  "components": [    {      "component": "string",      "action": "ENTRY_ACTION_UNSPECIFIED",      "old_version": {        "component_id": "string",        "version_id": "string",        "digest": "string",        "requested": "string"      },      "new_version": {        "component_id": "string",        "version_id": "string",        "digest": "string",        "requested": "string"      },      "paths": [        {          "path": {            "segments": [              {                "key": "string"              }            ],            "display": "string"          },          "before_present": true,          "before_json": "string",          "after_present": true,          "after_json": "string"        }      ],      "violations": [        {          "component": "string",          "path": {            "segments": [              {                "key": "string"              }            ],            "display": "string"          },          "message": "string"        }      ]    }  ]}