Request
To get all the entitlements for the account the app is signed into, filtered to include only entitlements for content that can be played on the device that the client app is running on, send a GET request to:
Bash
https://<host>:<port>/rmg/v1/user/device/entitlements
Headers
-
authorization– bearer token that the client received at signon -
nv-tenant-id– the tenant ID
Mandatory arguments
None
Other arguments
You can add query parameters for sorting, paging, limiting, and filtering the entitlements that are returned – see the RMG API documentation.
Response
A successful request returns an HTTP 200 status.
HTTP 200 successful response
JSON
{
"totalRecords": 0,
"resourceSet": [
{}
]
}
A bad request returns an HTTP 400 status.
If no entitlements were found, the request returns an HTTP 404 status.
See also
For full details of this API, see the RMG API documentation.