1,732 bytes added
, 15:18, 2 June 2014
{{Api_Method_Spec|
Description=Returns the URL for a given live channel (and a streaming type and quality parameters)
|Parameters=
{{Api_Parameter|
ParamName=token
|ParamType=String
|ParamRequired=required
|ParamDescription=A valid token for identifying the API session context and logged user.
}}
{{Api_Parameter|
ParamName=liveChannelId
|ParamType=int
|ParamRequired=required
|ParamDescription=Live Channel ID
}}
{{Api_Parameter|
ParamName=streamingType
|ParamType=[[StreamingType|StreamingType]]
|ParamRequired=required
|ParamDescription=Requested Streaming Type
}}
{{Api_Parameter|
ParamName=quality
|ParamType=[[Quality|Quality]]
|ParamRequired=required
|ParamDescription=Requested quality
}}
|Returns=
Returns a JSON object including the live channel URL.
'''Example:'''
{
: "Content": "http://www.telefonica.com...."
}
|Exceptions=
* [[StatusCode#InvalidChannelException|InvalidChannelException]]: If the Channel Id provided doesn't exist.
* [[StatusCode#MovieNotPlayableByDeviceTypeException|MovieNotPlayableByDeviceTypeException]]: If the content is not playable by the user device.
* [[StatusCode#LiveChannelNotPurchasedException|LiveChannelNotPurchasedException]]: If the live channel is not purchased by user.
|Cache=
This method is cached.
|KnownIssues=
None
|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 1.0
{{!}} Initial method design
{{!}} Harley Cabral
{{!}}}
|SeeAlso=
* [[LiveChannel]] object type
* [[StreamingType|StreamingType]] type
* [[Quality|Quality]] type
* [[UNIAPI_Specification#Epg_Service| Epg Service]] methods
}}