易阁云


场景详情

<h5>简要描述</h5> <ul> <li>手动场景(返回结果无sceneConditions)</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:9999/serve-connect/api/v1/scene/{id}</code> </li> </ul> <h5>请求方式</h5> <ul> <li>get</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th style="text-align: left;">字段名</th> <th style="text-align: left;">示例值</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Authorization</td> <td style="text-align: left;">Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX25hbWUiOiJhZG1pbiIsInNjb3BlIjpbImFsbCJdLCJ1c2VySWQiOjIsImF1dGhvcml0aWVzIjpbIkFETUlOIl0sImp0aSI6ImQxMzA3NDQ2LTQxYTUtNGEyZS05MWEzLTdiZmY5NmYzNzYwZiIsImNsaWVudF9pZCI6ImVhZ2UtYWRtaW4td2ViIiwidXNlcm5hbWUiOiJhZG1pbiJ9.aKA1RGKcRq5_mwkXvaHmNHVmQsMQB9ZsKarNM7hQw1egbWrmLfyCvG9GxKGWp-6NiEGALg2uKZV6gOi0SKFnZyx7Itisk2cCSW4M_1fjwDWJIOVMPP51Gaqs3wL9BLNU8AY5XpywIE9ITMowYTKnI15nBzM0sCI2bWTlwue_HI-rBhnwegv7zl0mG-CxzFFFdoTyiGzYL0bmf0NhX40eFdKzKShpmYc3pRwACDS5Xpa0VBXMNs4BPDuOYPbxczQbI-pgrCaQ-QqPmI4_4ymJQh4_b0_4FVow_AoxA3-hChXJHE1_FbtBnNl0N3u8rKEBLa6MrGqVh1RTMv7RLRbi1Q</td> <td>是</td> <td>string</td> <td>无</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "code": "00000", "data": { "gmtCreate": "2022-10-10 17:16:21", "gmtModified": "2022-10-10 17:16:21", "deleted": 0, "id": "2", "name": "回家模式", "icon": "图片", "intro": null, "type": 0, "status": 0, "familyId": null, "categoryId": "1", "categoryName": null, "sceneContents": null, "sceneConditions": [ { "id": "2", "sceneId": "2", "control": "温度", "judge": "高于", "sceneContents": [ { "id": "1", "sceneId": "2", "sceneConditionId": "2", "remoteId": "-1", "deviceRemoteId": null, "onOff": "开", "model": "模式", "temperature": "26", "windSpeed": "中", "time": null, "content": null, "sort": null, "remotePic": "https:\/\/cloud.lantin.me\/pro\/icon\/%E5%A4%9C%E7%81%AF.png", "remoteName": "智能伴侣-夜灯" } ] } ] }, "msg": "ok" } </code></pre>

页面列表

ITEM_HTML