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...")
 
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=[[StreamingType]]
 +
|ParamRequired=optional
 +
|ParamDescription=Set the request to include or not the External Streams into response. The default value is false.
 
}}
 
}}
  
 
|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
 +
]
 
}
 
}
  

Revision as of 18:52, 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
Set the request to include or not the External Streams into response. The default value is false.


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


See also