7. Lightware REST API Reference
6.7.3. Querying the Connected Destinations
Request and Response
header:
GET·http://<ip>/api/V1/MEDIA/AUDIO/XP/<audio_in>/ConnectedDestinations·HTTP/1.1
ɯ
header:
200·OK
ɮ
body:
<audio_out>
ɮ
Parameters
Parameter
Parameter description
<audio_in>
Audio input port
<audio_out>
Audio output port
Example
header:
GET http://192.168.0.50/api/V1/MEDIA/AUDIO/XP/I3/ConnectedDestinations HTTP/1.1
ɯ
header:
200 OK
ɮ
body:
O3
ɮ
6.7.4. Setting Autoselect Operation Mode
Request and Response
header:
POST·http://<ip>/api/V1/MEDIA/AUDIO/AUTOSELECT/O4/Policy·HTTP/1.1
ɯ
body:
<op_mode>
ɯ
header:
200 OK
ɮ
body:
<op_mode>
ɮ
Parameters
Parameter
Parameter description
<op_mode>
Operation mode
Example
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/AUTOSELECT/O4/Policy HTTP/1.1
ɯ
body:
Follow video
ɯ
header:
200 OK
ɮ
body:
Follow video
ɮ
Values
Value description
Audio input port number
I1-I4
Audio output port number
O4
Values
Value description
Follows the video crosspoint state
Follow video
automatically.
Autoselect function is disabled.
Off
Applied firmware package: v1.3.3b3 | LDC software: v2.5.14b5
MMX2 series – User's Manual
6.7.5. Setting the Followed Video Port to Autoselect
Request and Response
header:
POST·http://<ip>/api/V1/MEDIA/AUDIO/AUTOSELECT/O3/VideoFollowPort·HTTP/1.1
ɯ
body:
<out>
ɯ
header:
200 OK
ɮ
body:
<out>
ɮ
Example
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/AUTOSELECT/O3/VideoFollowPort HTTP/1.1
ɯ
body:
O1
ɯ
header:
200 OK
ɮ
body:
O1
ɮ
6.7.6. Locking the Audio Port
Request and Response
header:
POST·http://<ip>/api/V1/MEDIA/AUDIO/XP/<audio_port>/Lock·HTTP/1.1
ɯ
body:
<locked_state>
ɯ
header:
200 OK
ɮ
body:
<locked_state>
ɮ
Parameters
Parameter
Parameter description
<audio_port>
Audio Port
<locked_state>
Locked state
Example
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/XP/I2/Lock HTTP/1.1
ɯ
body:
false
ɯ
header:
200 OK
ɮ
body:
false
ɮ
57
Values
Value description
I1-I4
Audio input port number
O4
Audio output port number
true
The port is locked
false
The port is unlocked