获取已绑定设备稳定性
测试环境
http://140.207.166.210:9030/gateway/torch
测试环境
http://140.207.166.210:9030/gateway/torch
GET
/device/stability
请求参数
Authorization
在 header 添加参数
Authorization
示例:
Authorization: ********************
Query 参数
current
integer
当前页
size
integer
页大小
startDate
integer
必需
endDate
integer
必需
companyId
integer
公司ID
groupId
integer
设备组ID
pids
string
产品ID
keyword
string
SN前缀
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://140.207.166.210:9030/gateway/torch/device/stability?current&size&startDate&endDate' \
--header 'Authorization;'
返回响应
🟢200成功
application/json
Body
设备稳定性分页列表
code
integer | null
可选
message
string | null
可选
data
object (Page«StabilityVO»)
设备稳定性分页列表
records
array[object (StabilityVO) {11}] | null
可选
total
integer | null
可选
size
integer | null
可选
current
integer | null
可选
orders
array[object (OrderItem) {2}] | null
可选
optimizeCountSql
boolean | null
可选
isSearchCount
boolean | null
可选
hitCount
boolean | null
可选
countId
string | null
可选
maxLimit
integer | null
可选
type
integer | null
可选
示例
{
"code": 0,
"data": {
"records": [
{
"sn": "",
"name": "",
"startTime": "",
"endTime": "",
"offlineCount": 0,
"offlineTimeLength": 0,
"onlineCount": 0,
"onlineTimeLength": 0,
"totalTimeLength": 0,
"statusTimeStamps": [
{
"startTime": "",
"endTime": "",
"status": 0
}
]
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"isSearchCount": false,
"hitCount": false,
"countId": "",
"maxLimit": 0
},
"message": ""
}
修改于 2024-06-26 09:04:52