Review session sharing
PUT /api/v1/integrations/external/review-sessions/{externalId}/sharing
Header
| Name | Data Type | Description |
|---|---|---|
| Content-type: | application/json | for all requests |
| Authorization: | EAPI {token} | for all requests |
Body Parameters
Parameters indicated with a * are mandatory
| Name | Data Type |
Description |
|---|---|---|
| *Filter | Object | |
| *Filter.Users | Array Of String | Filter users by User Names. Only exists users will be added. |
| Access | Boolean | Users should have access to the schedule. True - Grant access False - Revoke access |
Sample Request URL
https://api.cirrusplatform.com/api/v1/integrations/external/review-sessions/scheExp/sharing
Sample Request
{ Filter:
{ "Users": ["alexey", "authorone"]},
"Access": true
}
Response codes
| Code | Description |
|---|---|
| 200 | Successful operation |
| 403 | Not allowed to use external API |
| 400 | Possible error codes: 100: Request body can not be null or empty. 216: Filter.Users can not be null or empty 300: ReviewSessionExternalId can not be null or empty 301: ReviewSession has not been found |
| 500 | Internal server error |