华为乾坤-查询单设备的性能数据:响应示例
时间:2025-05-12 15:31:59
响应示例
返回状态码为200:接口调用成功,响应体参考DevicePerformanceResp。
HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "0", "errmsg" : "", "data" : [ { "id" : "ea25fdbf-8dee-4823-bac2-5bfe8e3359ca", "name" : "device1", "esn" : "1102350DMJ1111111111", "deviceIp" : "10.190.12.10", "neType" : "S5320-52P-SI-AC", "status" : 0, "gisLon" : 120.1, "gisLat" : 10.2, "traffic" : 10.2, "onlineUsers" : 10, "cpuRate" : 10, "memoryRate" : 10, "upwardSpeed" : 10.2, "downwardSpeed" : 10.2, "mac" : "xx:xx:xx:xx:xx:xx", "timestamp" : 1687854074 } ] }
返回状态码为400:参数非法,查询失败。
HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001852129474.html