Edit document (DRM)

Prepares the document for editing in the selected branches,

Note:

This method is new in 6.4

Warning:

This method should only be used in DRM mode.

End-point

POST /documents/{docPath}/prepareForEdit

Path Parameters

Field Description

docPath

Full path of the document in the repository.

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 Responses

HTTP Status Description

200

The operation completed successfully.

401

There is no session or the session is invalid.

Results Fields

Field Type Description

result

PrepareForEditResult

The result of the prepareForEdit provides the documentIdentifier of the instance that is ready for editing.