Request format: GET
URL:http(s)://api.heclouds.com/nbiot/discover
I only want to see examples!!!
Parameter Name | Format | Required? | Description |
---|---|---|---|
imei | string | Yes | Identity code of nbiot device, required |
obj_id | int | Yes | object id of nbiot device, equivalent to the data flow id in the platform model, required |
obj_inst_id | int | No | id of a specific instance under the device object, corresponding to a part of key value at the data point in the platform model, optional |
timeout | int | No | Time-out period, optional, 25s by default, value range [5, 40] |
Name | Format | Description |
---|---|---|
errno | int | Call error code, where 0 means success. |
error | string | Error description, where "succ" means success. |
Return to the meaning corresponding to errno status code;check API status code。
If the data returned is an empty array, it means there is no resource.
GET http://api.heclouds.com/nbiot/discover HTTP/1.1
api-key:xxxx-ffff-zzzzz,must be masterKey
Authorization: version=2018-10-31&res=products/23104&et=1554398783&method=sha1&sign=fsBwuj0udOpU3BLoHmpbFwyIo30=
{
"errno": 0,
"error": "succ",
"data":[
{
"obj_inst_id":3,
"res_id":[3, 2, 4]
},
{},
……
]
}