/documents/{docPath}/newVersion - Check In Document

Checks in the working copy of the document and unlocks it.

Note:

This method changed in 6.5

End-point

PUT /documents/{docPath}/newVersion

Path Parameters

Field Description

docPath

Full path of the document in the repository

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

Request Body

Field Type Description

data

String

Comment for the new revision.

Possible Responses

HTTP Status Description

200

The operation completed successfully

401

There is no session or the session is invalid

Response Body

Field Type Description

result

CheckInResult

The result indicates if the document was modified or not.

Additional Information

Note: If the CCMS realizes that the new revision if identical to the revision in the repository, it does not create a new revision.
The check-in operation also unlocks the document.