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 |
---|---|---|
|
| Supplied data was insufficient or incorrect. |
|
| User is not authenticated. |
|
| User is not allowed to share to this permission ID. |
|
| The specified share permission was not found. |