OpenFolia

The PDF at a stable address

GET
/d/{product}/{manual}/{variant}/{lang}/pdf

The release’s PDF of the manual in this variant and language (#249), shown in place (Content-Disposition: inline), never rendered on request: 409 output-not-ready while it is rendered. Only for a reader one of whose roles covers all of the manual (as GET /releases/{id}/outputs judges it). Cached as the page is. Who may open it is delivery.access in openfolia.yaml on main, at most the deployment’s CCMS_DELIVERY_MAX_ACCESS (default public, no cap): public, anyone, without a token, as a reader of the delivery.publicAudience level (default the first audience), always: a session, a token or any other credential sent with the request is ignored (never checked, counted or refused), so a signed-in person sees exactly what the public sees and the answer varies by no credential (no Vary: Cookie or Authorization); signed-in (default), a reader with a token or a signed-in session, in their scope (401 without one); off, nobody (404). Only released content is ever shown, a release’s tag, never a branch or a draft; a manual, variant or language the reader may not see is 404, exactly like a missing one, and so is a moved address, until the reader may see what it leads to.

Authorization

bearer
headerAuthorizationBearer <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.

Path Parameters

product*string

The product: a value of the product facet.

manual*string

The manual’s address: delivery.manuals.<id>.slug, else its ID; a former one (formerly) is 301 to the current.

variant*string

The variant’s slug (model=large).

lang*string

The language; <lang>@<revision> pins one release (en@2.1), else the product’s latest release (the newest of main not withdrawn). Another case of a configured language is 301 to it; one the release does not have is the language picker (300) or 302 to the source language (delivery.missingLanguage).

Response Body

The PDF.

response?unknownapplication/pdf
Example Request
curl -X GET 'http://localhost:3000/d/north/operating/model=large/en/pdf'
Example Response
null