Read a translation status
One source module in one target language, with every translatable block’s state in meta.blocks. Not found, exactly like a module that does not exist, when the language is no target language, the module is not there for the reader in the source language, or the reader would not see a translation in that language. Needs translation.manage or content.read.draft (in any scope), on top of reading content (content.read); what it lists is limited by the reader’s scope, its languages included.
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.
lang*string^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$moduleId*string^[a-z0-9]+(?:-[a-z0-9]+)*$length <= 100ref?stringBranch, tag or commit ID to read from. Default: the server's CCMS_DEFAULT_REF.
X-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*curl -X GET 'http://localhost:3000/translations/status/de/battery-charging'{ "data": { "type": "TranslationStatus", "id": "string", "attributes": { "kind": "module", "moduleId": "string", "designId": "string", "manualId": "string", "lang": "string", "state": "up-to-date" }, "meta": { "title": "string", "totalBlocks": 0, "outdatedBlocks": 0, "atProviderBlocks": 0, "sourceCommit": "string", "blocks": [ { "blockId": "string", "state": "up-to-date" } ] } }}