What renaming a module would touch
What renaming the module would touch at the change set’s branch head: the languages it has a file in and every other module (per language) and manual whose module references, cross-references or entries name it, and every other module deprecated in favour of it (replacedBy), with those that have a working copy in the change set. Checked as the rename is (the author only, a draft only, one 403 when any of it lies outside the actor’s scope). Needs the content.edit 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.
uuidmoduleId*string^[a-z0-9]+(?:-[a-z0-9]+)*$length <= 100X-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).
The module’s languages and the files naming it.
application/vnd.api+json- response
data*id is the module’s ID.
curl -X GET 'http://localhost:3000/change-sets/497f6eca-6276-4993-bfeb-53cbbbba6f08/module-references/battery-charging'{ "data": { "type": "ModuleReferences", "id": "string", "attributes": { "languages": [ "string" ], "references": [ { "type": "module", "lang": "string", "moduleId": "string" } ], "translations": [ { "type": "module", "lang": "string", "moduleId": "string" } ] }, "meta": { "head": "string", "workingCopies": [ { "type": "module", "lang": "string", "moduleId": "string" } ] } }}