{
"id": "GSF_ID_CODEC_DAY2NIGHT",
"op": "G1C0S0",
"data": {
"mode": 0,
"d2n_thr": -100,
"n2d_thr": 150,
"light1": 1,
"light2": 0,
"filter_time": 5,
"btime": 25200,
"etime": 64800
}
}curl --location --request POST 'http://192.168.0.168/api/channel/config' \
--header 'Cookie: access_token=;access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GSF_ID_CODEC_DAY2NIGHT",
"op": "G1C0S0",
"data": {
"mode": 0,
"d2n_thr": -100,
"n2d_thr": 150,
"light1": 1,
"light2": 0,
"filter_time": 5,
"btime": 25200,
"etime": 64800
}
}'{
"code": 0,
"data": {}
}