{
"conditions": [
{
"cron": [
"0 * * * * ? *"
],
"brightness": 0.0,
"enable": true
},
{
"cron": [
"30 * * * * ? *"
],
"brightness": 255.0,
"enable": true
}
]
}curl --location 'http://192.168.0.220:12000/terminal/core/v1/brightness/timing-policy' \
--header 'Authorization: 17857457369538LRHKOWdiBwFUnDn5QBZDw==' \
--header 'token: 1785466956901pkbCeqrUQv+PGjEfNTlNoQ==' \
--header 'Content-Type: application/json' \
--data '{
"conditions": [
{
"cron": [
"0 * * * * ? *"
],
"brightness": 0.0,
"enable": true
},
{
"cron": [
"30 * * * * ? *"
],
"brightness": 255.0,
"enable": true
}
]
}'{
"code": 0,
"message": "tip msg",
"data": {}
}