Difference between revisions of "CanWatchMedia"
Jump to navigation
Jump to search
| Line 11: | Line 11: | ||
}} | }} | ||
{{Api_Parameter| | {{Api_Parameter| | ||
| − | ParamName= | + | ParamName=assetId |
| − | |ParamType= | + | |ParamType=int |
| − | |ParamRequired= | + | |ParamRequired=optional |
|ParamDescription= | |ParamDescription= | ||
}} | }} | ||
{{Api_Parameter| | {{Api_Parameter| | ||
| − | ParamName= | + | ParamName=drmKeyId |
| − | + | |ParamType=String | |
| − | + | |ParamRequired=optional | |
| − | + | |ParamDescription=Media DRM key Id | |
| − | |||
| − | |||
| − | |||
| − | |ParamType= | ||
| − | |ParamRequired= | ||
| − | |ParamDescription= | ||
}} | }} | ||
| + | |||
|Returns= | |Returns= | ||
Latest revision as of 14:58, 31 July 2014
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 |