{
"conditions": [
{
"cron": [
"0 * * * * ? *"
],
"brightness": 0.0,
"enable": true
},
{
"cron": [
"30 * * * * ? *"
],
"brightness": 255.0,
"enable": true
}
]
}curl --location --request POST 'http://192.168.0.220:12000/terminal/core/v1/brightness/timing-policy' \
--header 'Authorization: "token": "1772884900758a3G/2VxvvL8sYGX7ch4lkw==",' \
--header 'token: 17728859184696FpLycPa6RQn6ACR6uNK1w==' \
--header 'Content-Type: application/json' \
--data-raw '{
"conditions": [
{
"cron": [
"0 * * * * ? *"
],
"brightness": 0.0,
"enable": true
},
{
"cron": [
"30 * * * * ? *"
],
"brightness": 255.0,
"enable": true
}
]
}'{
"code": 0,
"message": "tip msg",
"data": {}
}