Difference between revisions of "GetChannelAvailableStreams"

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...")
 
 
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 20: Line 20:
 
|ParamRequired=optional
 
|ParamRequired=optional
 
|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 49: Line 57:
 
! Changes author
 
! Changes author
 
{{!}}- valign="top"
 
{{!}}- valign="top"
 +
 
! 1.0
 
! 1.0
 
{{!}} 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:59, 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