1,876 bytes added
, 15:00, 2 June 2014
{{Api_Method_Spec|
Description=Returns the list of live channels objects ([[LiveChannel]]) currently active.
Note: All methods returning channel lists are ordered by ChannelNumber and ID. That way it makes it easier
for clients implementing channel up and down functionality based on channel lists
|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=offset
|ParamType=int
|ParamRequired=optional
|ParamDescription=Index of the initial result of the list, begins with 0
}}
{{Api_Parameter|
ParamName=limit
|ParamType=int
|ParamRequired=optional
|ParamDescription=Quantity of results showed, with the maximum of 100
}}
{{Api_Parameter|
ParamName=imageWidth
|ParamType=int
|ParamRequired=optional
|ParamDescription=Channel Image width (default=0)
}}
{{Api_Parameter|
ParamName=imageHeight
|ParamType=int
|ParamRequired=optional
|ParamDescription=Channel Image width (default=0)
}}
{{Api_Parameter|
ParamName=adultFilter
|ParamType=[[AdultFilterType]]
|ParamRequired=optional
|ParamDescription=Adult filter to apply to the list (default = all)
}}
|Returns=
Returns a JSON object with a list of [[LiveChannel]].
'''Example:'''
{
: "Offset": 0,
: "Limit": 10,
: "Count": 48,
: [ Array of [[LiveChannel]] objects ]
}
|Exceptions=
* None.
|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
* [[AdultFilterType]] object type
* [[UNIAPI_Specification#Epg_Service| Epg Service]] methods
}}