CanWatchMedia

From Gvp-public
Revision as of 14:58, 31 July 2014 by Rcalvo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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