An authenticated Realino-compliant control device can execute authorized requests to send feed data to the Realer platform by providing a valid access_token. This feed data is used to inform users on Realer and for further processing.
Note: The feed data that a control device can send depends on the sensors and actuators attached to that device as registered on Realer.
Send control feed and command data to Realer.
The authorization token (access_token) to access resources on behalf of the control device. You get this at the time of authentication.
Type: String
Example: Token b11db7f6c816568eb3b156df3aeaa5
ID (id) of control device that needs to feed data. You get this at the time of authentication.
Type: Integer
Example: 12345
The sensors feed data.
Type: JSON
Example: [{"sensor_id":"1", "value":"18.49"}, {"sensor_id":"2", "value":"5.59"}]
The commands feed data.
Type: JSON
Example: [{"command_id":"1", "value":"0"}, {"command_id":"2", "value":"1"}]
Example value (application/json)
Code | Description |
---|---|
200 |
OK (Success) Example value (application/json) |
400 |
Bad Request (Client Error) Example value (application/json) |
401 |
Unauthorized (Client Error) Example value (application/json) |
403 |
Forbidden (Client Error) Example value (application/json) Example value (application/json) Example value (application/json) |