Documents

Update document sharing

Sets public sharing and commenting options for one document owned by the authenticated user. Share slugs are generated server-side.

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

Request

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

Path parameters

idstring uuid required

Document UUID.

Request body

is_publicboolean required
allow_commentsboolean required

Response

Updated sharing state.

is_publicboolean required
allow_commentsboolean required
share_slugstring nullable required
share_pathstring nullable required
public_urlstring uri nullable required

Changes

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