Create a Public Share
Creates a public share for the specified session.
Note
Only the WATCH permission should be used. For example: {"permission": "WATCH"}
Authorizations: Sessions - WATCH
Requests
POST /apis/sessions/:sessionId/publicshare {
id: "fc2b42e6-cf75-43f0-822e-e8b25edba217",
resource: "sessions",
permission: "WATCH"
} |
Response
Success
{
"data":{
"permission":"WATCH"
}
} |
Error
Code | Payload | Description |
---|---|---|
400 | {"code": "010001", "name":"InputValidation", | Supplied data was insufficient or incorrect. |
401 | {"code":"020001", "name":"UserNotAuthorized", | User is not authenticated. |
403 | {"code":"030003", "name":"CannotShare", | User is not allowed to share to this permission ID. |
404 | {"code":"040025", "name":"SharePermissionNotFound", | The specified share permission was not found. |