curl --location -g --request GET 'https://console.sciento.cn/wopen/v1//device/water-fertilizer/gateway/collection?page=1&size=10&eui=' \
--header 'Authorization: ' \
--header 'Content-Type: application/x-www-form-urlencoded'
{
"type": true,
"code": 200,
"data": {
"totalPages": 3,
"totalElements": 6,
"numberOfElements": 2,
"size": 2,
"number": 1,
"content": [
{
"id": 113, //自增id
"name": "2#空气湿度",
"newestData": 58.7, // 最新数据
"newestTime": "2021-09-17 21:58:16", //最新上传时间
"node": "2", //采集节点
"circuit": "airH", //采集回路
"sensorType": "airH",
, //传感器类型
"protocol": "simple", //采集协议
"extraNode": null, //lora采集字段
"fileUrl": null,
"typeId": null,
"concentratorId": 70, //网关id
"online": 1, //是否在线
"concentratorName": null, //网关名称
"eui": null, //网关编号
"deviceType": null, //设备类型
"altitude": null, //海拔
"unit": "%", //单位
"description": null, //描述
"objectId": "1634528750894" //唯一标识
},more...数组形式数组中的值与上面对象类似
],
"empty": false
}
}