Page
104
APPENDIX E: API Documentation
Introduction
This appendix discusses ways to use the Application Program Interface (API) to
allow third party equipment to remotely access options and settings of the iAM2-8.
It includes specific code examples for commonly used requests. The API uses
JavaScript Object Notation (JSON) as its communication language.
Follow the instructions in the
First Time IP Assignments
section of Chapter 4 to
achieve the required network connection.
API: Presets
1.
GET Active Presets
Method: GET
/api/cf/presets/current
Example Response:
{
"serial_number"
:
"123456"
,
"model"
:
"AUDIO2-8"
,
"version"
:
1.3
,
"name"
:
""
,
"result"
: {
"group"
: {
"Id"
:
1
,
"Name"
:
"G1"
},
"preset"
: {
"Data"
:
null
,
"Favorite"
:
0
,
"Id"
:
2
,
"Name"
:
"SDI_Manual"
}