Skip to content

Device API

Register

text
POST /api/v1/device/register

Used by a new ESP32 gateway to register with JKBMSR Cloud.

Login

text
POST /api/v1/device/login

Used by a registered ESP32 gateway to receive a fresh JWT.

Dashboard Device History

text
GET /api/v1/dashboard/devices/:deviceId/telemetry/history
GET /api/v1/dashboard/devices/:deviceId/ota/history

Used by the authenticated dashboard to show recent telemetry trends and persistent OTA runtime events for a visible device.