7. Lightware REST API Reference
UCX series – User's Manual
92
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
7.12.8.
Resetting the Emulated EDIDs
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/EDID/reset·HTTP/1.1
INFO:
The body has to be empty, and the content type should be text/plain.
ɮ
header:
200 OK
ɮ
body: OK
Example
ɯ
header:
POST http://192.168.0.50/api/V1/EDID/reset HTTP/1.1
ɮ
header:
200 OK
ɮ
body: OK
Calling this method switches all emulated EDIDs to factory default one. See the table in the
section.
7.13. Ethernet Port Configuration
7.13.1.
Set the DHCP State
ATTENTION!
When you change a network property the new value is stored but the
applySettings
method
must be called always to apply the new settings. When two or more network parameters are changed the
applySettings
method is enough to call once as a final step.
Request and Response
#dhcp #network
#ipaddress
ɯ
header:
POST·http://
<ip>
/api/V1/MANAGEMENT/NETWORK/DhcpEnabled·HTTP/1.1
ɯ
body:
<dhcp_status>
ɮ
header:
200 OK
ɮ
body:
<dhcp_status>
Parameters
If the
<dhcp_status>
parameter is
true
, the current IP address setting is DHCP, if the parameter is
false
the
current IP address is static.
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MANAGEMENT/NETWORK/DhcpEnabled HTTP/1.1
ɯ
body: true
ɮ
header:
200 OK
ɮ
body: true
ɯ
header:
POST http://192.168.0.50/api/V1/MANAGEMENT/NETWORK/applySettings HTTP/1.1
ɮ
header:
200 OK
ɮ
body: OK
INFO:
The
applySettings
method will save and apply the new value and results the device to reboot.
INFO:
The current setting can be queried by using the GET command.
7.13.2.
Change the IP Address (Static)
Request and Response
ɯ
header:
POST·http://
<ip>
/api/V1/MANAGEMENT/NETWORK/StaticIpAddress·HTTP/1.1
ɯ
body:
<IP_address>
ɮ
header:
200 OK
ɮ
body:
<IP_address>
Example
ɯ
header:
POST http://192.168.0.50/api/V1/MANAGEMENT/NETWORK/StaticIpAddress HTTP/1.1
ɯ
body: 192.168.0.100
ɮ
header:
200 OK
ɮ
body: 192.168.0.100
ɯ
header:
POST http://192.168.0.50/api/V1/MANAGEMENT/NETWORK/applySettings HTTP/1.1
ɮ
header:
200 OK
ɮ
body: OK
INFO:
The
applySettings
method will save and apply the new value and results the device to reboot.
INFO:
The current setting can be queried by using the GET command.