{
"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": "1766750047679tzKSIsromDRgY7hHsgCbiw==",' \
--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": {}
}