5. The Reference for RPCM REST API
REPLY:
{"message":"hello","fgColor":"grey"}
Example
:
curl -X GET http://192.168.1.42:8888/api/display/user-message
5.2.8.4. Get current display message
Command:
GET /api/display/what-is-shown
REPLY:
"userMessage"
Example
:
curl -X GET http://192.168.1.42:8888/api/display/what-is-shown
5.2.8.5. Information About Allowed Colors
Command:
GET /api/display/allow-colors
REPLY:
["red","green","blue","yellow","purple","grey"]
Example
:
curl -X GET http://192.168.1.42:8888/api/display/allow-colors
5.2.8.6. What Variants Is Showed
Command:
GET /api/display/what-to-show-variants
REPLY:
["voltage","current","power","ipAddress","macAddress","serialName","serialNumber","userMes
sage"]
Example
:
curl -X GET http://192.168.1.42:8888/api/display/what-to-show-variants
5.2.9. Automation tools
5.2.9.1. Get Automation State
Command:
GET /api/automation/state
188