Create a Public Share for a Video
Creates a public share for the specified video (asset).
Authorizations: Recordings - WATCH
Requests
POST /apis/assets/:id/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", | 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. |