分页获取设备分组✅
GET
/api/v1/device/group分页获取设备分组
请求参数
Query 参数
page
string
必需
示例值:
1
page_size
string
必需
示例值:
3
name
string
必需
示例值:
银
parent_id
string
可选
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
list
array [object {9}]
必需
total
integer
必需
示例
{
"code": 200,
"message": "Get device group successfully",
"data": {
"list": [
{
"id": "00b459a8-2a25-f021-ba2e-4886ed7e4bc0",
"parent_id": "9c8daf96-c160-e019-dc1d-f96f4ede5a59",
"tier": -1,
"name": "银川",
"description": "",
"created_at": "2024-02-18T17:49:04.322182Z",
"updated_at": "2024-02-18T17:49:04.322182Z",
"remark": null,
"tenant_id": ""
}
],
"total": 1
}
}
最后修改时间: 10 个月前