Documents

Move a document

Moves one document to another folder owned by the authenticated user. Duplicate target-folder titles are automatically disambiguated.

put/api/v1/documents/{id}/folder

Request

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

Path parameters

idstring uuid required

Document UUID.

Request body

folder_idstring uuid required

Response

Moved 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.