> For the complete documentation index, see [llms.txt](https://sensecap.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sensecap.gitbook.io/doc/http-api/overview.md).

# HTTP API Reference

### Host

```
API-V1: https://sensecap-openapi.seeed.cc
```

### Group Management API-V1

| HTTP method | Endpoint                 | Function                                                                                         |
| ----------- | ------------------------ | ------------------------------------------------------------------------------------------------ |
| POST        | /1.0/group               | [Create a new device group](/doc/http-api/overview/group.md#create-a-new-device-group)           |
| GET         | /1.0/lists/group         | [List device group](/doc/http-api/overview/group.md#list-device-group)                           |
| GET         | /1.0/lists/group/devices | [List device group with devices](/doc/http-api/overview/group.md#list-device-group-with-devices) |

### Device Management API-V1

| HTTP method | Endpoint                    | Function                                                                                    |
| ----------- | --------------------------- | ------------------------------------------------------------------------------------------- |
| GET         | /1.0/lists/gateway          | [Gateway list](/doc/http-api/overview/devices-operation.md#gateway-list)                    |
| GET         | /1.0/gateway/{gateway\_eui} | [Get gateway detail](/doc/http-api/overview/devices-operation.md#get-gateway-detail)        |
| GET         | /1.0/lists/node             | [Node list](/doc/http-api/overview/devices-operation.md#node-list)                          |
| GET         | /1.0/node/{node\_eui}       | [Get node detail](/doc/http-api/overview/devices-operation.md#get-node-detail)              |
| GET         | /1.0/lists/sensor/measure   | [Sensor measurement list](/doc/http-api/overview/devices-operation.md#sensor-measure-list)  |
| POST        | /1.0/device/check\_eui      | [Check eui and code](/doc/http-api/overview/devices-operation.md#check-device-eui-and-code) |
| POST        | /1.0/device/bind            | [Bind device](/doc/http-api/overview/devices-operation.md#bind-device)                      |

### Device Data API-V1

| HTTP method | Endpoint                              | function                                                                                              |
| ----------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| GET         | /1.0/lists/devices/eui                | [List devices EUI](/doc/http-api/overview/devices-data-api.md#list-device-euis)                       |
| GET         | /1.0/devices/data/{node\_eui}/latest  | [Get the latest data](/doc/http-api/overview/devices-data-api.md#get-the-latest-data-of-the-device)   |
| GET         | /1.0/devices/data/{node\_eui}/raw     | [Get the history data](/doc/http-api/overview/devices-data-api.md#get-the-history-data-of-the-device) |
| GET         | /1.0/devices/data/{node\_eui}/segment | [Get data segment ](/doc/http-api/overview/devices-data-api.md#get-the-segment-data-of-the-device)    |
