Page
87
Get preset information
:
Method: GET
URL: /api/cf/presets/presetbyname/<str:preset Name>
URL parameters:
•
preset Name
-- preset Name (String maximum length: 10).
The preset name is case sensitive
.
Response JSON Object
On Success
•
string
unit_name
:
Product Name ("IAM-ETZ-G4")
•
string
model:
Product model ("iAM_MIX_IP)
• string
serial_number
:
Product serial number
•
float
api_version
:
REST API version
•
string
presets
:
List of Presets with configuration data.
On Failure
•
integer
status
:
HTTP status code.
•
string
action:
Help message
• string
message
:
Error message.
Status Codes:
•
200
OK
•
400
Bad Request
Invalid URL
•
404
Data Not Found
Invalid HTTP method request
•
500
Server Error
Internal Server Error
Example request
:
GET /api/cf/presets/presetbyname/T-S-M-A
Example response
:
A.
On Success:
{
"unit_name": "iAM-Series",
"serial_number": "123456",
"model": "iAM-Mix-IP",
"api_version": 2,
"result": {
"Cat1100Source": {
"Pair": 0,
"Type": "None"
},
"ApplyCor": false,
"MeterSet": {
"1": {
"VolumeDb": 0,
"Source": {
"Type": "Sfp-1.Sdi.Sdi-1",
"Channel": 7
},
"DelayMs": 0,
"Speaker": "Left",
"Label": {
"Default": true,
"LabelType": 3,
"LabelBottom": "7",
Содержание iAM-MIX-16
Страница 19: ...Page 19 To cancel the reset process press RESET NO or press EXIT MENU ...
Страница 23: ...Page 23 Figure 3 1 iAM MIX Block Diagram ...
Страница 69: ...Page 69 ...