/rest/1.0/documents/{docPath}/shareWith - Share a document with another branch
Shares the instance with one or more other branches.
Note:
This method is new in 6.5
End-point
| POST | /rest/1.0/documents/{docPath}/shareWith |
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 |
|---|---|---|
|
List of branches identified for sharing |
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 |
|---|---|---|
|
Updated information about the document |