ADDER A.I.M. User Manual page 54

Adderlink infinity manager
Table of Contents

Advertisement

get_channels (continued)
- for each channel:
- attribute: item (e.g. 17th channel)
- c_id (channel id)
- c_name (channel name)
- c_description (channel description)
- c_location (channel location)
- c_favourite (true if this channel is in the user's favourites, 0-9 if it's a
numbered shortcut)
- view_button (disabled/enabled/hidden - whether the user can connect to the
preset in view-only mode.
disabled = no, because something is in use by someone else.
hidden = never. enabled = yes
If the device_id of the proposed receiver to be used in the connection is not
provided, this will not necessarily be an accurate indication of whether other
connections may actually interfere)
- shared_button (disabled/enabled/hidden - as above, but in shared mode)
- exclusive_button (disabled/enabled/hidden - as above, but in exclusive mode)
Examples
Input:
/api/?v=2&method=get_channels&token=xxxxx
Output:
<api_response>
<version>2</version>
<timestamp>2012-12-14 12:12:12</timestamp>
<success>1</success>
<page>1</page>
<results_per_page>10</results_per_page>
<count_channels>2</count_channels>
<channel item="1">
<c_id>3</c_id>
<c_name>Channel 1</c_name>
<c_description>Description for Channel 1</c_description>
<c_location>Location of Channel 1</c_location>
<c_favourite>false</c_favourite>
<view_button>disabled</view_button>
<shared_button>disabled</shared_button>
<exclusive_button>disabled</exclusive_button>
</channel>
<channel item="2">
<c_id>5</c_id>
<c_name>Channel 2</c_name>
<c_description>Description for Channel 2</c_description>
<c_location>Location of Channel 2</c_location>
<c_favourite>2</c_favourite>
<view_button>disabled</view_button>
<shared_button>enabled</shared_button>
<exclusive_button>hidden</exclusive_button>
</channel>
</api_response>
53

Advertisement

Table of Contents
loading

This manual is also suitable for:

Infinity aimAdderlink infinityInfinity

Table of Contents