Lock Document

Locks the document for the current user.

End-point

POST /documents/{docPath}/lockState

Path Parameters

FieldDescription

docPath

Full path of the document in the repository.

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

Possible Responses

HTTP StatusDescription

200

The operation completed successfully.

401

There is no session or the session is invalid.

Response Body

FieldTypeDescription

result

String

If the lock is successful, the results field will be empty.