EasyManuals Logo

ADDER AdderLink Infinity Manager User Manual

ADDER AdderLink Infinity Manager
52 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #41 background imageLoading...
Page #41 background image
 sll




40
Appendix D
AIM API
The AIM API provides access for external applications to key routines used within
the AIM server. This appendix provides a reference to the available methods.
API version: 2
Changelog
• v2(AIMv2.3)-addedget_devices, get_channels, connect_channel,
disconnect_channel. Updated version compatibility information.
• v1(AIMv1.3)-addedlogin, logout, get_presets, connect_preset,
disconnect_preset
Methods
login (http://<aim.ip.address>/api/#login)
logout (http://<aim.ip.address>/api/#logout)
get_devices (http://<aim.ip.address>/api/#get_devices)
get_channels (http://<aim.ip.address>/api/#get_channels)
get_presets (http://<aim.ip.address>/api/#get_presets)
connect_channel (http://<aim.ip.address>/api/#connect_channel)
connect_preset (http://<aim.ip.address>/api/#connect_preset)
disconnect_channel (http://<aim.ip.address>/api/#disconnect_channel)
disconnect_preset (http://<aim.ip.address>/api/#disconnect_preset)
login
This method was last updated in API version 1, and is compatible with API
requests from version 1 onwards.
The API will require a valid AIM user’s login credentials to be presented in the
first request. The API will return an authentication code, which must be passed
in all future requests. This authentication code can be re-used until a logout
request is made, at which point the authentication code will no longer be valid.
The concept of an ‘anonymous user’ can apply to the API. If no login username
and password are provided, the API will return an authentication token for the
anonymous user (either the same one as for the OSD, or else an ‘anonymous API
user’ account can be created).
Input parameters:
- username
- password
- v (the AIM API version this request is designed for)
Output values:
- timestamp - the current server time
- version - the current API version number
- token - an authentication code for future API requests
- success
Examples
Input:
/api/?v=1&method=login&username=xxxxx&password=xxxxx
Output:
<api_response>
<version>1</version>
<timestamp>2012-12-1412:12:12</timestamp>
<success>1</success>
<token>5cf494a71c29e9465a57a81e0a2d602c</token>
</api_response>
or
<api_response>
<version>1</version>
<timestamp>2012-12-1412:12:12</timestamp>
<success>0</success>
<errors>
<error>
<code>2</code>
<msg>Invalidusernameorpassword</msg>
</error>
</errors>
</api_response>

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ADDER AdderLink Infinity Manager and is the answer not in the manual?

ADDER AdderLink Infinity Manager Specifications

General IconGeneral
CertificationCE, FCC
Mounting typeRack mounting
Product colorBlack
Control display unitNo
Operating temperature (T-T)0 - 40 °C
Power supply60 W
Input current1.5 A
Input voltage100 - 240 V
Output voltage12 V
Input frequency50/60 Hz
Ethernet LAN (RJ-45) ports2
Weight and Dimensions IconWeight and Dimensions
Depth230 mm
Width432 mm
Height44 mm
Weight2750 g