Difference between revisions of "CanWatchMedia"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description= TODO |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A valid token for identifying ...")
 
Line 12: Line 12:
 
}}
 
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
ParamName=assetId
+
ParamName=movieId
 
|ParamType=
 
|ParamType=
 
|ParamRequired=
 
|ParamRequired=
Line 18: Line 18:
 
}}
 
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
ParamName=drmKeyId
+
ParamName=mediaId
 +
|ParamType=
 +
|ParamRequired=
 +
|ParamDescription=
 +
}}
 +
{{Api_Parameter|
 +
ParamName=pin
 
|ParamType=
 
|ParamType=
 
|ParamRequired=
 
|ParamRequired=
 
|ParamDescription=
 
|ParamDescription=
 
}}
 
}}
 
  
 
|Returns=
 
|Returns=
Returns a JSON object containing a number as result.
+
Returns a JSON object containing a XXX.
  
 
'''Example:'''
 
'''Example:'''
Line 34: Line 39:
 
:    <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
 
:    <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
:    <span style="color: #a11;">"Content"</span>: <span style="color: #219;">126698</span>
+
:    <span style="color: #a11;">"Content"</span>: <span style="color: #219;">XXX</span>
 
}
 
}
  

Revision as of 19:09, 30 July 2014

Description

TODO

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • movieId (, )
  • mediaId (, )
  • pin (, )


Returns

Returns a JSON object containing a XXX.

Example:

{

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

}


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