List what a change set changes
The modules and manuals that differ between the change set’s base commit and its head (the review head once submitted, else its branch’s head), each with what differs: its metadata fields and, for a module, its blocks by block ID (added, changed, removed; unchanged blocks are not listed). Derived from Git, never stored. Each side is read as the reader may read that commit, and shows only what they would also see on the other: a module or manual they may not see there is not there, exactly like a missing one, and one they see on neither side is neither listed nor counted. Other files (the configuration, templates, images) are not listed. The change set is found as GET /change-sets/{changeSetId} finds it; its author reads its base as released content when it started from released content. Needs the content.read permission.
bearerAuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
changeSetId*stringThe change set’s ID (a UUID). One that names no change set, malformed or not, is 404.
uuidpage[number]?integerPage to return, from 1. Default: 1.
1 <= valuepage[size]?integerResources per page. Default: 50, at most 200.
1 <= value <= 200X-Ccms-User?stringDemo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).
application/vnd.api+json- response
data*array<>meta*links*curl -X GET 'http://localhost:3000/change-sets/497f6eca-6276-4993-bfeb-53cbbbba6f08/changes'{ "data": [ { "type": "ChangeSetChange", "id": "string", "attributes": { "subject": { "type": "module", "lang": "string", "moduleId": "string" } }, "relationships": { "changeSet": { "data": { "type": "ChangeSet", "id": "string" } } }, "meta": { "change": "added", "fields": [ "string" ], "blocks": [ { "blockId": "string", "change": "added" } ], "unreadable": true } } ], "meta": { "page": { "currentPage": -9007199254740991, "lastPage": -9007199254740991, "perPage": -9007199254740991, "total": -9007199254740991 }, "base": "string", "head": "string" }, "links": { "self": "string", "first": "string", "last": "string", "prev": "string", "next": "string" }}