HTTP API Reference

Host

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

Group Management API-V1

HTTP method

Endpoint

Function

POST

/1.0/group

Create a new device group

GET

/1.0/lists/group

List device group

GET

/1.0/lists/group/devices

List device group with devices

Device Management API-V1

HTTP method

Endpoint

Function

GET

/1.0/lists/gateway

Gateway list

GET

/1.0/gateway/{gateway_eui}

Get gateway detail

GET

/1.0/lists/node

Node list

GET

/1.0/node/{node_eui}

Get node detail

GET

/1.0/lists/sensor/measure

Sensor measurement list

POST

/1.0/device/check_eui

Check eui and code

POST

/1.0/device/bind

Bind device

Device Data API-V1

HTTP method

Endpoint

function

GET

/1.0/lists/devices/eui

List devices EUI

GET

/1.0/devices/data/{node_eui}/latest

Get the latest data

GET

/1.0/devices/data/{node_eui}/raw

Get the history data

GET

/1.0/devices/data/{node_eui}/segment

Get data segment

Group Management API-V2

HTTP method

Endpoint

Function

POST

/group/create_group

Create a new device group

PATCH

/group/update_group/:uniqName

Update device group information

DELETE

/group/delete_group/:uniqName

Delete a device group

GET

/group/list_group_statistic

List device group

GET

/group/list_group_nodes

List device group with devices

PATCH

/group/move_device_to:uniqName

Move devices to other group

Device Management API-V2

HTTP method

Endpoint

Function

GET

/device/list_gateways

Gateway list

GET

/device/view_gateway/:eui

Get gateway detail

PATCH

/devices/update_gateway/:eui

Update Gateway detail

DELETE

/devices/delete_gateway/:eui

Delete gateway from organization

GET

/device/list_nodes

Node list

GET

/device/view_node/:eui

Get node detail

PATCH

/device/update_node/:eui

Update node

DELETE

/device/delete_node/:eui

Delete node from organization

GET

/sensor/list_measurements

Sensor measurement list

POST

/device/check_eui

Check eui and code

POST

/device/bind

Bind device

Device Data API-V2

HTTP method

Endpoint

function

GET

/device/list_euis

List devices EUI

GET

/channel/view_latest/:node_eui

Get the latest data

GET

/channel/view_raw/:node_eui

Get the history data

GET

/channel/view_segment/:node_eui

Get data segment