/documents/{docPath}/lockState - (Standard only) Edit document

Locks the document for the current user and prepares it for editing.

Warning:

Only use this method when in Standard mode.

End-point

POST /documents/{docPath}/lockState

Path parameters

FieldDescription

docPath

Full path of the document in the repository

Note: Collection separators "/" must be encoded as "%7C".

Possible response

HTTP statusDescription

200

The operation completed successfully

401

There is no session or the session is invalid

Response body

FieldTypeDescription

result

String

Information about the branches in which to edit the document

Information about the branches in which to edit the document