5. The Reference for RPCM REST API
5.2.5. Input Status Setting
5.2.5.1. Change Input State
Command:
PUT /api/input/[inputNumber]/[state]
Parameter:
inputNumber — the number of an input[1, 2]
state - [on, off]
REPLY: GET /api/status is used as a system response.
Example:
curl -X PUT http://192.168.1.24:8888/api/input/1/on
5.2.5.2. Active Input Setting
Command:
PUT /api/inlet/[inputNumber]/activate
Parameters:
inputNumber —input number [1, 2]
REPLY: GET /api/status is used as a system response.
Example:
curl -X PUT http://192.168.1.24:8888/api/input/1/activate
5.2.5.3. Current Limit Setting
Command:
PUT /api/input/[inputNumber]/current-limit/[limit]
Parameters:
inputNumber — input number [1, 2]
limit — maximum of available current.
REPLY: GET /api/status is used as a system response
Example:
curl -X PUT http://192.168.1.24:8888/api/input/1/current-limit/10
5.2.5.4. Input Recognition Setting
Command:
PUT /api/input/[inputNumber]/recognition/[state]
185