{
"id": "GSF_ID_SVP_POLYGON",
"op": "G0C0S1"
}
curl --location --request POST 'http://192.168.0.168/api/alarm/analytics' \
--header 'Cookie: access_token=;access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GSF_ID_SVP_POLYGON",
"op": "G0C0S1"
}'
{
"code": 0,
"data": {
"count": 1,
"vec": [
{
"idx": 0,
"alarm_level": 9,
"alarm_labelidx": 0,
"alarm_audioidx": 7,
"alarmin_type": -1,
"alarmin_linkage": 0,
"alarmin_feedback": 0,
"alarmin_obtime": 0,
"alarm_gpionum": -1,
"alarm_gpiodur": 0,
"alarm_gpioextime": 0,
"alarm_cloud": 0,
"ref_point": 1,
"entry_type": 2,
"crowd_type": 0,
"crowd_thr": 9,
"alarm_delaytime": 0,
"alarm_tolertime": 0,
"points": {
"count": 4,
"vec": [
{
"x": 0.005,
"y": 0.005
},
{
"x": 0.005,
"y": 0.995
},
{
"x": 0.995,
"y": 0.995
},
{
"x": 0.995,
"y": 0.005
}
]
},
"osd": {
"enable": 0,
"mark_idx": 0,
"type": 0,
"color": 33488896,
"text": "",
"text2": "",
"font_color": 0,
"font_size": 0
}
}
]
}
}