List module summaries
The modules the reader may see, one per module ID with the languages it exists in, ordered by title. For a content browser: filters run on the server, before paging, and meta.changed says whether a module differs from the released branch (main), as the reader sees that (a language deleted on the branch alone does not count; a module outside what the reader sees on main counts as changed). Module files that cannot be read are left out (GET /modules lists them).
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[lang]?stringOnly modules that exist in this language; titles in it, and filter[keyword] matched in it.
^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$filter[type]?stringOnly modules of this module type.
^[a-z][a-z0-9-]*$length <= 64filter[audience]?stringOnly modules that count as this audience level: their own, or the last, most restricted level for a module naming none, as manuals and the access check place it. A level the configuration does not list matches nothing, and a module naming such a level matches no level.
^[a-z][a-z0-9-]*$length <= 64filter[facet]?|array<string>Only modules with this facet value, as <facet>:<value> (e.g. region:north). Repeat it for several, at most 32: a module has to have every one.
filter[keyword]?|array<string>Only modules with this keyword, case and diacritics aside (Wärme is warme); 1 to 64 characters, no comma. Repeat it for several, at most 32: a module has to have every one.
filter[changed]?stringtrue: only modules that differ from the released branch (main); false: only those that do not.
"true""false"filter[q]?stringOnly modules whose title (in any language) or ID contains this text, case aside; 1 to 200 characters after trimming.
1 <= length <= 200filter[snippet]?stringtrue: only snippets, the modules of a type the configuration marks snippet: true; false: only the others.
"true""false"filter[deprecated]?stringtrue: only deprecated modules (attributes.deprecated, #266); false: only the others. A content browser hides deprecated modules with false. Not applied to deleted modules (filter[status]), listed either way.
"true""false"filter[status]?stringcurrent (the default): the modules there; deleted: the modules deleted on the ref's first-parent line (among its newest 1000 commits) that the reader sees no file of now, each summarised from the last versions of its deleted files that the reader may see (meta.deleted; a module outside their scope is never listed). Without content.read.draft, only the deleted files whose last version released content (main’s head, a release tag) holds exactly, each from that file as the reader reads it there. any: both, in one list. Every other filter but filter[deprecated] applies to a deleted module's last versions.
"current""deleted""any"filter[id]?stringOnly the modules of these IDs, comma-separated (a,b,c), 1 to 200: a screen reads the summaries of the modules it shows (a manual's outline) instead of the whole list. An ID that names no module the reader sees is left out, like any module that does not match.
length <= 20200page[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/module-summaries'{ "data": [ { "type": "ModuleSummary", "id": "string", "attributes": { "moduleId": "string", "title": "string", "titleLang": "string", "moduleType": "string", "audience": "string", "facets": {}, "keywords": [ "string" ], "languages": [ "string" ], "variants": [ "string" ], "deprecated": { "reason": "string", "replacedBy": "string" } }, "meta": { "changed": true, "text": "string", "deleted": { "commit": "string", "committedAt": "string" } } } ], "meta": { "page": { "currentPage": -9007199254740991, "lastPage": -9007199254740991, "perPage": -9007199254740991, "total": -9007199254740991 } }, "links": { "self": "string", "first": "string", "last": "string", "prev": "string", "next": "string" }}