Fork Document

Creates a new instance of the document in one or more branches.

End-point

POST /documents/{docPath}/forkOrEdit

Path Parameters

FieldDescription

docPath

Full path of the document in the repository.

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

Request Body

FieldTypeDescription

data

ForkRequest

Information required to fork the document.

Possible Responses

HTTP StatusDescription

200

The operation completed successfully.

401

There is no session or the session is invalid.

Response Body

FieldTypeDescription

result

ForkResult

Result of the fork.