ADDER A.I.M. User Manual page 53

Adderlink infinity manager
Table of Contents

Advertisement

get_devices (continued)
<con_control>1</con_control>
<con_start_time>2012-09-07 13:33:19</con_start_time>
<con_end_time/>
<u_username>admin</u_username>
<u_id>1</u_id>
<c_name>Channel 1</c_name>
<count_receiver_groups>1</count_receiver_groups>
<count_users>1</count_users>
<custom_settings>0</custom_settings>
</device>
</devices>
</api_response>
<api_response>
<version>2</version>
<timestamp>2012-09-12 14:56:11</timestamp>
<success>1</success>
<page>1</page>
<results_per_page>1</results_per_page>
<total_devices>1</total_devices>
<count_devices>1</count_devices>
<devices>
<device item="1">
<d_id>64</d_id>
<d_mac_address>00:0F:58:01:56:85</d_mac_address>
<d_name>TX 456</d_name>
<d_online>0</d_online>
<d_type>tx</d_type>
<d_version>1</d_version>
<d_variant></d_variant>
<d_ip_address>1.1.201.31</d_ip_address>
<d_description></d_description>
<d_location></d_location>
<d_configured>1</d_configured>
<d_valid_firmware>1</d_valid_firmware>
<d_valid_backup_firmware>1</d_valid_backup_firmware>
<d_firmware>2.1.15747</d_firmware>
<d_backup_firmware>2.1.15747</d_backup_firmware>
<d_date_added>2012-07-13 17:50:04</d_date_added>
<count_transmitter_channels>3</count_transmitter_channels>
<custom_settings>0</custom_settings>
</device>
</devices>
</api_response>
get_channels
This method was last updated in API version 2, and is compatible with API requests from
version 2 onwards
This simple function returns a list of channels available to the authenticated user, for a
specific receiver.
Input parameters:
- token
- v (the A.I.M. API version this request is designed for)
- page (page number to start showing results for, default = 1)
- results_per_page (number of results per page, default = 1000)
- device_id (ID of the receiver that this channel will be connected to. Recommended to
ensure full checks for connection mode availability.
- filter_c_name (channel name search string)
- filter_c_description (channel description search string)
- filter_c_location (channel location search string)
- filter_favourites (set this non-empty to only show a user's favourites)
Output values:
- version - the current API version number
- timestamp - the current server time
- success
- page (page number)
- results_per_page (number of results per page, default = unlimited)
- count_channels - the number of channels on this page, available to the authenticated
user
continued
52

Advertisement

Table of Contents
loading

This manual is also suitable for:

Infinity aimAdderlink infinityInfinity

Table of Contents