Skip to content

API Reference ​

RESTful API with JWT authentication.

Authentication ​

POST /login
{ "username": "admin", "password": "admin123" }
→ { "token": "eyJ..." }

All subsequent requests require: Authorization: Bearer {token}

Key Endpoints ​

MethodPathDescription
GET/iot/product/listList products
POST/iot/productCreate product
GET/iot/device/listList devices
POST/iot/deviceCreate device
GET/iot/device/runtime/Device real-time data
GET/iot/thingsModel/listThing models
GET/iot/scene/listList scenes
PUT/iot/scene/triggerTrigger scene

信息

Full API docs available via Swagger at /doc.html after startup.

FastBee | fastbee.cn