EasyManua.ls Logo

ADDER AdderLink Infinity Manager - API Method: Get Devices

ADDER AdderLink Infinity Manager
52 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
 sll




41
logout
This method was last updated in API version 1, and is compatible with API
requests from version 1 onwards.
The authentication token provided by the Login function can be used until the
logout function is called.
Input parameters:
- token
- v (the AIM API version this request is designed for)
Output values:
- timestamp - the current server time
- success - 0 = fail, 1 = success
Examples
Input:
/api/?method=logout&token=xxxxx&v=1
Output:
<api_response>
<version>1</version>
<timestamp>2011-02-0415:24:15</time>
<success>1</success>
</api_response>
or
<api_response>
<version>1</version>
<timestamp>2012-12-1212:12:12</timestamp>
<success>0</success>
<errors>
<error>
<code>3</code>
<msg>Errorloggingout(youmayalreadyhaveloggedout)</msg>
</error>
</errors>
</api_response>
get_devices
This method was last updated in API version 2, and is compatible with API
requests from version 2 onwards.
This function returns a list of devices.
Input parameters:
- token
- v (the AIM API version this request is designed for)
- device_type (‘rx’ = receivers, ‘tx’ = transmitters. Default = ‘rx’)
- filter_d_name (Optional. Device name search string)
- filter_d_description (Optional. Device description search string)
- filter_d_location (Optional. Device location search string)
- sort (Optional. Sort results by ‘name’/’description’/’location’. Default = ‘name’)
- sort_dir (Optional. Sort direction for results ‘asc’/’desc’. Default = ‘asc’)
- status (Optional. ‘’,’outdated_aim_ip’,’rebooting’,’offline’,’outdated_
firmware’,’invalid_backup_firmware’,’rebooting’,’upgrading_firmware’,’backup_
mode’)
- show_all (Optional. If set and not blank, shows all receivers, not just those the
logged-in user is permitted to use)
- page (page number to start showing results for, default = 1)
- results_per_page (number of results per page, default = 1000)
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)
- total_devices - the total number of devices
- count_devices - the number of devices on this page
continued