查询设备组下的设备列表信息
测试环境
http://140.207.166.210:9030/gateway/torch
测试环境
http://140.207.166.210:9030/gateway/torch
GET
/group/query/list/byDeviceSn
请求参数
Authorization
在 header 添加参数
Authorization
示例:
Authorization: ********************
Query 参数
current
integer
当前页
size
integer
页大小
id
integer
设备组ID
pids
string
可选
示例代码
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/group/query/list/byDeviceSn?current&size&id' \
--header 'Authorization;'
返回响应
🟢200成功
application/json
Body
code
integer
可选
message
string
可选
data
object (PageDeviceVO)
可选
records
array[object (DeviceVO) {58}]
可选
total
integer
可选
size
integer
可选
current
integer
可选
orders
array[object (OrderItem) {2}]
可选
optimizeCountSql
boolean
可选
isSearchCount
boolean
可选
hitCount
boolean
可选
countId
string
可选
maxLimit
integer
可选
type
integer
可选
示例
{
"code": 0,
"data": {
"records": [
{
"id": 0,
"companyId": 0,
"groupId": 0,
"groupName": "",
"userId": 0,
"name": "",
"updateTime": "",
"createTime": "",
"appGroupId": 0,
"pid": 0,
"series": 0,
"sn": "",
"machineCode": "",
"bootVersion": "",
"firmwareVersion": "",
"firmwareVersionBefore": "",
"hardwareVersion": "",
"available": "",
"remark": "",
"iccids": "",
"frequency": "",
"enableLog": false,
"productName": "",
"onlineStatus": 0
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"isSearchCount": false,
"hitCount": false,
"countId": "",
"maxLimit": 0
},
"message": ""
}
修改于 2024-12-16 07:01:58