latestOpenAPI 3.1.02026-08-08423062.6 KB

6e0ac03e39e5

HTML

Update HTML page

Replaces page content; requires the owner token returned at creation. Also accepts raw text/* (HTML, Markdown, YAML, XML, CSV, code) bodies — see /llms-full.txt.

put/api/html/{ns}/{id}

Path parameters

nsstring required
idstring required

Query parameters

formatstring

Optional new content format on republish. Accepts 'html', 'markdown'/'md', or any code format (yaml, json, xml, csv, tsv, log, toml, ini, sql, sh, bat, env, javascript, typescript, tsx, jsx, css, properties, docker, txt). When omitted, the row's stored format is preserved. Body field 'format' on HtmlUpdateRequest takes precedence over the query param when both are present.

Headers

X-Owner-Tokenstring required

Owner token returned at creation. Required for update and delete

User-Agentstring

Request body

contentstring

New HTML content to replace existing page

formatstring

Optional new content format on republish. Accepts 'html', 'markdown'/'md', or any code format (yaml, json, xml, csv, tsv, log, toml, ini, sql, sh, bat, env, javascript, typescript, tsx, jsx, css, properties, docker, txt). When omitted, the row's stored format is preserved. Takes precedence over the 'format' query param when both are present.

Response

Page updated