Skip to main content

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",
"message":<Error message>, "httpStatusCode":400}

Supplied data was insufficient or incorrect.

401
{"code":"020001", "name":"UserNotAuthorized",
"message":"User is not authorized",
"httpStatusCode":401}

User is not authenticated.

403
{"code":"030003", "name":"CannotShare",
"message":"Cannot share", "httpStatusCode":403}

User is not allowed to share to this permission ID.

404
{"code":"040025", "name":"SharePermissionNotFound",
"message":"Share permission not found",
"httpStatusCode":404}

The specified share permission was not found.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.