Report translation coverage
One TranslationCoverage per manual the reader may see and target language they may read it in, at ?ref=: how many of the modules it includes (also through module references) are up to date, outdated, at a provider or missing in that language, and how many of their blocks. A module counts exactly where GET /translations/status lists it (so filter[manual], filter[lang] and filter[kind]=module there list the modules counted here; beside them, meta.design, meta.cover and meta.labels count the units of the manual's page design's region text (#656), of its own text (its title, its groups' titles, #731, and its cover images' alternative text, #656) and of the project labels (#731), as the status lists them with filter[kind]=design, filter[kind]=manual and filter[kind]=config); nothing outside the reader’s scope is named or counted. Ordered by the manual’s title, its ID and the configured order of target languages; a manifest that cannot be read is left out. Paged; GET /reports/translations/csv downloads all of it. Needs content.read.draft (in any scope), on top of reading content (content.read); what it names and counts 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.
filter[manual]?stringOnly this manual; one the reader may not see (or that does not exist) matches nothing.
^[a-z0-9]+(?:-[a-z0-9]+)*$length <= 100filter[lang]?stringOnly this target language; one that is not a target language matches nothing.
^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$page[number]?integerPage to return, from 1. Default: 1.
1 <= valuepage[size]?integerResources per page. Default: 50, at most 200.
1 <= value <= 200ref?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*array<>meta*links*curl -X GET 'http://localhost:3000/reports/translations'{ "data": [ { "type": "TranslationCoverage", "id": "string", "attributes": { "manualId": "string", "lang": "string" }, "meta": { "title": "string", "deprecated": true, "modules": { "total": 0, "upToDate": 0, "outdated": 0, "atProvider": 0, "missing": 0 }, "blocks": { "total": 0, "upToDate": 0, "outdated": 0, "atProvider": 0, "missing": 0 }, "design": { "total": 0, "upToDate": 0, "outdated": 0, "atProvider": 0, "missing": 0 }, "cover": { "total": 0, "upToDate": 0, "outdated": 0, "atProvider": 0, "missing": 0 }, "labels": { "total": 0, "upToDate": 0, "outdated": 0, "atProvider": 0, "missing": 0 } } } ], "meta": { "page": { "currentPage": -9007199254740991, "lastPage": -9007199254740991, "perPage": -9007199254740991, "total": -9007199254740991 } }, "links": { "self": "string", "first": "string", "last": "string", "prev": "string", "next": "string" }}