Haivision Media Platform

Get Video Sharing Permission Information

The share resource is used to manage access permissions for a video. See (4.1) Get Share Permissions for a Session.

Authorizations: Recordings - VIEW

Requests

GET /apis/assets/:assetId/shares

Response

Success

{
 "data": [
  {
    "id": "a78758cc-48da-47ad-bc6e-6c8564badb7e",
    "shareType": "USER",
    "permission": "WATCH",
    "name": "viewer",
    "email": null
  }
 ],
 "paging": {
   "results": 1,
   "pageSize": 15
 }
}

Error

Code

Payload

Description

404

{"code":"040012", "name":"NoResults",
"message":"No results", "httpStatusCode":404}

The specified video has not been shared with any user or group.