Skip to content
LogoLogo

Replace Document content from Markdown

Replace Document content from Markdown

PUT/api/v1/documents/{document_id}/markdown

Accepts bounded valid UTF-8 Markdown. Supported Assign-profile constructs become structured content; unsupported blocks and inline constructs are preserved as inert literal Markdown. Raw HTML is never executed, and tables remain literal until a versioned table format is available.

Path Parameters

document_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Request Body

text/markdown

Responses