Skip to main content
All requests require the auth headers and are relative to the base URL.

List devices

GET /devices

A device’s commands

GET /devices/{deviceId}/commands
Returns the commands available for that device.

Send a command

POST /commands/send
{
  "device_id": "your-device-id",
  "command_payload": { }
}
The command_payload is delivered to the device, where its firmware command handler acts on it.

Sensor data

Store readings:
POST /sensor-data
{
  "device_id": "your-device-id",
  "sensor_data": { "temperature": 27.4, "humidity": 61 }
}
Read readings back:
GET /sensor-data

Database

Schemas, tables, and runtime data.