Documents

Rename a document

Renames a document owned by the authenticated user. The new title is disambiguated against the other documents in the same folder.

patch/api/v1/documents/{id}

Request

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

Path parameters

idstring uuid required

Document UUID.

Request body

titlestring required

Response

Updated document (without body).

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.