An authenticated Realino-compliant control device can execute authorized requests to get command data from the Realer platform by providing a valid access_token. This command data would be locally used by the connected control device to execute actions in the physical world.
Note: The command data that the connected control device gets refers to the state of actuators as set by users in the control panel on Realer.
curl "https://www.therealer.com/control_devices/1/commands.realino" \
-H 'Authorization: Token b11db7f6c816568eb3b156df3aeaa5'
Retrieve control command data from 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 access data. You get this at the time of authentication.
Type: Integer
Example: 12345
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)
|