/rest/1.0/documents/{documentSource}/doAutomaticUpdate - Perform an automatic update

Applies the content of the source document as a new revision of the target document.

Note:

This method is new in 6.5

End-point

POST /rest/1.0/documents/{documentSource}/doAutomaticUpdate

Path parameters

Field Description

documentSource

Document identifier of the source document

Note:

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

Query string parameters

Field Description

documentTarget

Document identifier of the target document

Note:

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

Request body

Field Type Description

data

ShareWithRequest

Information about the branch of the target document

Possible response

HTTP status Description

200

The operation completed successfully

401

There is no session or the session is invalid

Response body

Field Type Description

result

PrepareForEditResult

Updated information about the target document