Documents

Create a document

Creates a markdown document inside a folder owned by the authenticated user. Duplicate sibling titles are automatically disambiguated.

post/api/v1/documents

Request

  • Base URL: https://mdflow.cz
  • URL: https://mdflow.cz/api/v1/documents
  • Auth: HTTP bearer

Request body

folder_idstring uuid required
titlestring required
bodystring required

Markdown document body. UTF-8 encoded content must not exceed 512000 bytes.

Response

Created document.

idstring uuid required
titlestring required
folder_idstring uuid required
is_publicboolean required
created_atstring date-time required
updated_atstring date-time required
workspace_idstring uuid

The workspace this document belongs to (via its folder). Returned by list/get responses; omitted from create/rename/move/body responses.

path_stringstring

Path segment names joined by " / ".

Changes

No recorded changes to this operation across all 1 revision of this API.