Difference between revisions of "GetUserAvailableStreams"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Returns a list (as an array of LiveChannelStreams objects) of live channel streams for the provided Live Channel IDs and str...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Api_Method_Spec|
 
{{Api_Method_Spec|
Description=Returns a list (as an array of [[LiveChannelStreams|LiveChannelStreams]] objects) of live channel streams for the provided Live Channel IDs and streaming type.
+
Description=Returns a list (as an array of [[LiveChannelStreams]] objects) of live channel streams for the provided Live Channel IDs and streaming type.
  
 
|Parameters=
 
|Parameters=
Line 17: Line 17:
 
{{Api_Parameter|
 
{{Api_Parameter|
 
ParamName=streamingType
 
ParamName=streamingType
|ParamType=[[StreamingType|StreamingType]]
+
|ParamType=[[StreamingType]]
 
|ParamRequired=required
 
|ParamRequired=required
 
|ParamDescription=Requested Streaming type
 
|ParamDescription=Requested Streaming type
 +
}}
 +
{{Api_Parameter|
 +
ParamName=includeExternal
 +
|ParamType=bool
 +
|ParamRequired=optional
 +
|ParamDescription=Set if API should consider external contents.
 
}}
 
}}
  
 
|Returns=
 
|Returns=
Returns a JSON object with the array of [[LiveChannelStreams|LiveChannelStreams]].
+
Returns a JSON object with the array of [[LiveChannelStreams]].
  
 
'''Example:'''
 
'''Example:'''
  
 
{
 
{
:  [ Array of [[LiveChannelStreams|LiveChannelStreams]] objects ]
+
LiveChannelStreamsCollection: [
 +
::      Array of [[LiveChannelStreams]] objects
 +
]
 
}
 
}
  
Line 52: Line 60:
 
{{!}} Initial method design
 
{{!}} Initial method design
 
{{!}} Harley Cabral
 
{{!}} Harley Cabral
 +
{{!}}- valign="top"
 +
 +
! 3.0
 +
{{!}} Added parameter:
 +
* includeExternal (true/false) - Default is FALSE.
 +
{{!}} Ricardo Calvo
 +
{{!}}- valign="top"
 +
 
{{!}}}
 
{{!}}}
  

Latest revision as of 18:55, 25 March 2015

Description

Returns a list (as an array of LiveChannelStreams objects) of live channel streams for the provided Live Channel IDs and streaming type.

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user.
  • liveChannelIds (array of ints, required)
List of Live Channel ID
Requested Streaming type
  • includeExternal (bool, optional)
Set if API should consider external contents.


Returns

Returns a JSON object with the array of LiveChannelStreams.

Example:

{

LiveChannelStreamsCollection: [
Array of LiveChannelStreams objects
]

}


Exceptions

  • None


Caching

This method is cached.


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral
3.0 Added parameter:
  • includeExternal (true/false) - Default is FALSE.
Ricardo Calvo


See also