文档
测试

A list of online devices (mobile APP)

POST
/qgy/equipgroup/onlineList

接口描述

List of online devices

Request parameters

参数名
类型
描述
必填
userId
String
Current account id
必填

Return sample

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data": [ { "id": 1, "pid": 1, "name": "Huamei East Gate", //Device grouping name "createTime": "2020-09-09 00:00:00", "userId": "91A72CE7FC134285A5F19B55DBF6D36E", "children": null, "online":2,//Number of on-line devices currently grouped "offline":1,// Number of offline devices currently grouped "deviceKeys": [ //array of devices to which the device is grouped { "system": "Android", "deviceKey": "HJWV19DM47", "list": [], "id": 79, "sceneGuid": 0, "name": "HJWV19DM47", "state": 0,//Online status "createTime": "2020-07-24 15:37:41", "codeUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/code/HJWV19DM47.png", "intervals": 1000, "persoonleUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/code/HJWV19DM47Add.png", "groupId": 1, "topFive": [//Current device finally identifies 5 data { "deviceKey": "HJWV19DM47",//Equipment serial number "list": [], "guid": "BFE8242B7B4247C4A8E0564CD21C33D8", "name": "sll", "personGuid": "97D95A11B8C84030A1AD5236656B1B27", "photoUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/discern/7f1a81bc-7af9-477a-adc0-3e212d172e50.png?x-oss-process=style/format_png",//Identified images "showTime": "2020-07-24 15:38:25", "hat": 0, "glasses": 0, "source": null, "photoName": "7f1a81bc-7af9-477a-adc0-3e212d172e50.png", "temperature": 30.29,//Temperature "tempAbnormal": 0,//Abnormal temperature 0:Normal 1:异常 "faceConfidence": 1.26, "liveConfidence": 1.26, "sex": "Female", "sceneId": 0, "type": 1 } ] } ] } } ```