Device Management API-V1
gateway list
GET {host}/1.0/lists/gateway
get the list of gateways
Query Parameters
offset
number
current page number, start from 1, default = 1
length
string
the number of rows in page, default = 20
{
"code": "0",
"data": {
"page": {
"count": "8"
},
"list": [
{
"dev_eui": "2CF7F11113500001",
"dev_name": "2CF7F11113500001_gateway",
"org_id": "1411841915123",
"position_source": "1",
"dev_country": "",
"frequency": "920",
"device_network": "1",
"position": {
"lon": "113.926979",
"lat": "22.573724"
},
"description": "",
"reg_time": "1567041885000",
"bind_time": "1571208951000",
"latestmsg_time": "0",
"online_status": "0"
}
]
}
}
Example request
get gateway detail
GET {host}/1.0/gateway/:gateway_eui
get the detail of a specific gateway
Path Parameters
gateway_eui
string
device EUI
Example request
node list
GET {host}/1.0/lists/node
get the list of Node devices
Query Parameters
length
string
the number of rows in page, default = 20
offset
string
current page number, start from 1, default = 1
Example request
get node detail
GET {host}/1.0/node/:node_eui
get the detail of a specific node
Path Parameters
node_eui
string
device EUI
Example request
sensor measure list
GET {host}/1.0/lists/sensor/measure
get the list of all physical measurements of all sensor types. also see Appendix - List of Sensor Types.
Example request
check device eui and code
POST {host}/1.0/device/check_eui
Request Body
code
string
device code
eui
string
device eui
Example request
bind device
POST {host} /1.0/device/bind
bind device to account
Request Body
eui
string
device eui
code
string
device code
device_name
string
device name
group_uinque_name
string
group unique name,available through the group list interface
lon
string
device positon, longitude
lat
string
device postion,latitude
Example request
Last updated
Was this helpful?