5. The Reference for RPCM REST API
Parameters:
state - [on, off, alternate, disable, enable]
REPLY:
GET /api/status
is used as a system return.
Example:
curl -X PUT http://192.168.1.24:8888/api/beeper/on
5.2.8. Front Display Messages Settings
5.2.8.1. User Message Setting
Command:
PUT /api/display/user-message
Parameters:
message
fgColor
Return is:
true
Example
:
curl -X PUT http://192.168.1.42:8888/api/display/user-message -d
'{"fgColor":"grey","message":"hello"}'
5.2.8.2. Default Message Setting
Command:
PUT /api/display/what-to-show
Parameters:
whatToShow
REPLY:
true
Example
:
curl -X PUT http://192.168.1.42:8888/api/display/what-to-show -d
'{"whatToShow":"userMessage"}'
5.2.8.3. User Message Getting
Command:
GET /api/display/user-message
187