IoT Platform HTTP API
REST API for device management on the IoT Platform.
Base URL: http://<host>:9001
API Overview
| Endpoint | Method | Description |
|---|---|---|
/api/devices | GET | List devices |
/api/devices?id=<id> | GET | Get a device |
/api/devices?id=new | POST | Create a device |
/api/devices?id=<id> | POST | Update a device |
/api/devices?id=<id> | DELETE | Delete a device |
/api/device-groups | GET | List device groups |
/api/device-groups?id=<id> | GET | Get a device group |
/api/device-groups?id=new | POST | Create a device group |
/api/device-groups?id=<id> | POST | Update a device group |
/api/device-groups?id=<id> | DELETE | Delete a device group |
/api/telemetry | GET | Query telemetry data |
/api/assets | GET | List assets |
/api/assets?id=<id> | GET | Get an asset |
/api/assets?id=new | POST | Create an asset |
/api/assets?id=<id> | POST | Update an asset |
/api/assets?id=<id> | DELETE | Delete an asset |
Authentication
All API requests require an API key sent via the Authorization header:
Authorization: Bearer <your-api-key>See Getting Started for details.