/documents/{docPath}/newVersion - Check In Document
Checks in the working copy of the document and unlocks it.
End-point
| PUT | /documents/{docPath}/newVersion |
Path Parameters
| Field | Description |
|---|---|
|
Full path of the document in the repository Note: Collection
separators "/" must be encoded as "%7C".
|
Request Body
| Field | Type | Description |
|---|---|---|
|
|
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 |
|---|---|---|
|
|
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.