/documents/{docPath}/prepareForEdit - (DRM only) Edit document

Prepares the document for editing in the selected branches,

Note:

This method is new in 6.4

Warning:

Only use this method when in DRM mode.

End-point

POST /documents/{docPath}/prepareForEdit

Path parameters

Field Description

docPath

Full path of the document in the repository

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

Request fields

Field Type Description

data

PrepareForEditRequest

Information about the branches in which to edit the document

Possible response

HTTP status Description

200

The operation completed successfully

401

There is no session or the session is invalid

Results field

Field Type Description

result

PrepareForEditResult

The result provides the documentIdentifier of the instance that is ready for update