Skip to main content

Create a Public Share for a Video

Creates a public share for the specified video (asset).

Authorizations: Recordings - WATCH

Requests

POST /apis/assets/:assetId/publicshare
{
  id: "a5e21b0b-516b-42c9-90be-20a3eb5b2c21",
  resource: "assets",
  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.