分页查询场景联动
开发中GET
/api/v1/scene_automations/list请求参数
Query 参数
name
string
可选
示例值:
2
page
string
必需
示例值:
1
page_size
string
必需
示例值:
2
device_id
string
可选
device_config_id
string
可选
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
list
array [object {10}]
必需
total
integer
必需
示例
{
"code": 200,
"message": "get scene automations successfully",
"data": {
"list": [
{
"id": "59e6fab9-448f-26bb-b608-3566b716ff72",
"name": "222",
"description": "xxx",
"enabled": "Y",
"tenant_id": "2f4306df",
"creator": "",
"updator": "e7cc3359-54f3-e23b-801b-e3b82446378e",
"created_at": "2024-03-28T14:15:21.65953Z",
"updated_at": "2024-03-29T12:16:36.582271Z",
"remark": ""
},
{
"id": "633f42ab-9f77-0d0a-7839-97d020791a44",
"name": "222",
"description": "xxx",
"enabled": "N",
"tenant_id": "2f4306df",
"creator": "e7cc3359-54f3-e23b-801b-e3b82446378e",
"updator": "e7cc3359-54f3-e23b-801b-e3b82446378e",
"created_at": "2024-03-29T04:14:56.178509Z",
"updated_at": "2024-03-29T12:17:00.46333Z",
"remark": ""
}
],
"total": 2
}
}
最后修改时间: 9 个月前