OpenFolia

Render a manual as PDF

GET
/manuals/{id}/variants/{variant}/{lang}/pdf

The resolved manual typeset with the repository's template (or the built-in one), tagged and conforming to PDF/UA-1 unless pdf.standard in openfolia.yaml is none. Cached per commit; the first request for a commit renders it.

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

id*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Lengthlength <= 100
variant*string

Variant slug as listed by GET /manuals/{id}, e.g. model=large.

Length1 <= length <= 500
lang*string
Match^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$

Query Parameters

ref?string

Branch, tag or commit ID to read from. Default: the server's CCMS_DEFAULT_REF.

Response Body

The PDF.

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