Render a manual as HTML
The resolved manual for one of its published variants as a page: the title, a table of contents and every module, as in the PDF. Read like the PDF and the resolved manual: scope and audience apply, and a manual, variant or language the reader may not have is 404, exactly like a missing one.
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.
id*string^[a-z0-9]+(?:-[a-z0-9]+)*$length <= 100variant*stringVariant slug as listed by GET /manuals/{id}, e.g. model=large.
1 <= length <= 500lang*string^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$theme?stringColour scheme. auto (default) follows the viewer’s prefers-color-scheme; light and dark force one.
"auto""auto""light""dark"view?stringreader (default): the HTML readers get. editor: the editor’s preview of it, which also shows each page break as a marker labelled “Page break (PDF)”.
"reader""reader""editor"ref?stringBranch, tag or commit ID to read from. Default: the server's CCMS_DEFAULT_REF.
A complete HTML page (@openfolia/render-html) linking the theme and the renderer’s stylesheet, served with Content-Security-Policy (no script; styles, images and fonts from this origin; frame-ancestors this origin and CCMS_EDITOR_ORIGINS) and X-Content-Type-Options: nosniff. Images are GET /assets/:sha256 and safety symbols GET /symbols/:id (those with artwork; the configured label as the text alternative), at the same ?ref=. Cached like every content route.
response?stringtext/htmlcurl -X GET 'http://localhost:3000/manuals/operating/variants/model=large/en/html'"string"