Haivision Media Platform

View Sharing Permissions for a Source

The share resource is used to manage access permissions for the source.

Authorizations: Sources - VIEW

Requests

GET /apis/sources/:sourceId/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 source has not been shared with any user or group.