获取场景详情
开发中GET
/api/v1/scene/detail/{id}请求参数
Path 参数
id
string
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
actions
array [object {12}]
必需
info
object
必需
示例
{
"code": 200,
"message": "get scene successfully",
"data": {
"actions": [
{
"id": "d3a8b37f-6457-e1ef-4310-6e2565537b66",
"scene_id": "740364f1-08c7-4e86-ed01-dff874b47bb3",
"action_target": "4",
"action_type": "30",
"action_param_type": null,
"action_param": null,
"action_value": null,
"created_at": "2024-03-27T16:02:43.5608Z",
"updated_at": "2024-03-27T16:02:43.5608Z",
"tenant_id": "aaaaaaaa",
"remark": null
},
{
"id": "06c93420-7504-fd9a-eefd-a2a865e6ce89",
"scene_id": "740364f1-08c7-4e86-ed01-dff874b47bb3",
"action_target": "5",
"action_type": "50",
"action_param_type": null,
"action_param": null,
"action_value": null,
"created_at": "2024-03-27T16:02:43.5608Z",
"updated_at": "2024-03-27T16:02:43.5608Z",
"tenant_id": "aaaaaaaa",
"remark": null
}
],
"info": {
"id": "740364f1-08c7-4e86-ed01-dff874b47bb3",
"name": "fff",
"description": "yanhao",
"tenant_id": "",
"creator": "",
"updator": "50",
"created_at": "2024-03-25T22:24:09.315343Z",
"updated_at": "2024-03-27T16:02:43.560856Z"
}
}
}
最后修改时间: 1 个月前