7. Lightware REST API Reference
UCX series – User's Manual
82
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
7.8.
Video Port Settings - USB-C Related Commands
7.8.1.
Restart Link Training
This method is equal with pulling out and plug in again the USB-C connector.
Request and Response
#linktraining
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/VIDEO/
<in>
/DP/restartLinkTraining
INFO:
The body has to be empty, and the content type should be text/plain.
ɮ
header:
200 OK
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/VIDEO/I1/DP/restartLinkTraining HTTP/1.1
ɮ
header:
200 OK
7.9.
Audio Port Settings
7.9.1.
Switch Audio Input
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/MEDIA/AUDIO/XP/switch·HTTP/1.1
ɯ
body:
<audio_in>
:O3·
ɮ
header:
200 OK
ɮ
body:
<audio_in>
:O3
Parameters
Parameter
Parameter description
Values
Value description
<audio_in>
Audio input port
I1-I4
Audio input port number
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MEDIA/AUDIO/XP/switch HTTP/1.1
ɯ
body: I2:O3
ɮ
header:
200 OK
ɮ
body: I2:O3
INFO:
When using the '0' value as an input, the input will be disconnected and no signal will appear on the
output.
ATTENTION!
When I5 is selected for video source, the de-embedded audio of the I1 is not available because
the video crosspoint has a limitation: I1 and I5 ports are not available at the same time, only one of them can
be selected to any output. For more details about it see the port diagram in
section.
7.9.2. Query the Connected Source
Request and Response
ɯ
header:
GET·http://
<ip>
/api/V1/MEDIA/AUDIO/XP/O3/ConnectedSource·HTTP/1.1
ɮ
header: 200·OK
ɮ
body:
<audio_in>
Parameters
Parameter
Parameter description
Values
Value description
<audio_in>
Audio input port
I1-I4
Audio input port number
Example
ɯ
header:
GET http://192.168.0.50/api/V1/MEDIA/AUDIO/XP/O3/ConnectedSource HTTP/1.1
ɮ
header:
200 OK
ɮ
body: I2
7.9.3. Query 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
Values
Value description
<audio_in>
Audio input port
I1-I4
Audio input port number
<audio_out>
Audio output port
O3
Audio output port number
Example
ɯ
header:
GET http://192.168.0.50/api/V1/MEDIA/AUDIO/XP/I3/ConnectedDestinations HTTP/1.1
ɮ
header:
200 OK
ɮ
body: O3