CanWatchMedia

From Gvp-public
Jump to navigation Jump to search

Description

Checks if a user can watch the media

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • assetId (int, optional)
  • drmKeyId (String, optional)
Media DRM key Id


Returns

Returns a JSON object containing a number Id of media.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": 1

}


Exceptions

  • None


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also