Last Updated on : 2023-12-07 03:33:50
Get the list of timer tasks of a category under a specified device.
GET: /v1.0/devices/{devId}/timers/categories/{category}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
devId | String | uri | true | The device ID. |
category | String | uri | true | The category of a specified timer task group. |
Parameter name | Type | Description |
---|---|---|
result | JSONObject | The returned result. |
GET: /v1.0/devices/vdevo15445800464****/timers/categories/100
{
"result": [
{
"groups": [
{
"timers": [
{
"date": "20200202",
"functions": [
{
"code": "bright_value_v2",
"value": 5000
},
{
"code": "switch_led",
"value": true
}
],
"is_app_push": false,
"loops": "0000000",
"alias_name": "",
"timer_id": 4906528,
"timezone_id": "Asia/Shanghai",
"group_order": 0,
"time": "17:30",
"status": 0
}
],
"id": "000000mwf3"
}
],
"category": {
"category": "test",
"status": 1
}
}
],
"t": 1581336613789,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback