Last Updated on : 2023-06-15 05:05:18
Query a list of tap-to-run on the pages.
GET: /v2.0/iot-03/scenes
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
page_no | Integer | query | true | The page number. Default value: 10 . |
page_size | Integer | query | true | The number of items returned on each page. The value ranges from 1 to 100 . Default value: 20 . |
Parameter name | Type | Description |
---|---|---|
result | ScenesRes | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
page_no | Integer | The page number. |
page_size | Integer | The number of items returned on each page. |
data | List |
The list of data. |
total | Long | The total number of items to be returned. |
Description of data
Parameter name | Type | Description |
---|---|---|
name | String | The name of a specified scene. |
create_time | Long | The time when it is created. |
modify_time | Long | The last update time. |
scene_id | String | The ID of a specified scene. |
GET: /v2.0/iot-03/scenes
{
"result": {
"data": [
{
"create_time": 1634372263345,
"modify_time": 1634372263345,
"scene_id": "ESMzZGu9KDAH****",
"name": "This is a tap-to-run"
}
],
"page_no": 1,
"total": 100,
"page_size": 20
},
"t": 1635424385879,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback