OpenFolia

A stylesheet of the preview pages

GET
/preview/{name}

theme.css (the theme’s CSS variables), theme-dark.css (its dark values on :root, linked for theme=auto under prefers-color-scheme: dark), render-html.css (the renderer’s) and page.css (the page’s own background). Revalidated with an ETag of the bytes.

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

name*string

Response Body

response?stringtext/css
Example Request
curl -X GET 'http://localhost:3000/preview/render-html.css'
Example Response
"string"