设置定时亮度的接口如下:
```json
{
"type": "timedBrightness",
"task": {
"_id": "591d519f5e3f190f697aaf18",
"defaultBrightness": 6,
"name": "Timing Brightness",
"_company": "alahover",
"_department": "539eaaedb6e1232a1566d9c2",
"_role": "539eaaedb6e1232a1566d9c3",
"_user": "Emily2",
"__v": 0,
"items": [
{
"brightness": 32,
"_id": "591d519f5e3f190f697aaf1a",
"schedules": [
{
"dateType": "All",
"startDate": null,
"endDate": null,
"timeType": "Range",
"startTime": "08:30",
"endTime": "18:00",
"filterType": "None",
"weekFilter": [],
"monthFilter": [],
"lng": "en"
}
],
"id": "591d519f5e3f190f697aaf1a"
}
],
"dateCreated": "2017-05-18T07:47:43.590Z",
"createDate": "2017-05-18T07:47:43.590Z",
"createBy": "Emily2",
"id": "591d519f5e3f190f697aaf18",
"lng": "zh-CN"
}
}
```
其中,task字段包含了定时亮度的相关参数,如亮度值、定时时间等。调用成功后,返回的结果中result字段为成功的信息。