Authorization: Bearer ********************curl --location '/api/zapk' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"msg": "string",
"data": [
{
"zapk_id": "string",
"name": "string",
"apps": [
{
"app_id": "string",
"name": "string",
"license_expire": 0,
"perpetual": true,
"type": 0,
"rule": {
"interval": 0,
"classes": [
{
"class_id": "string",
"name": "string",
"color": "string",
"threshold": 0,
"min_pixel": 0,
"max_pixel": 0,
"attribute": {
"enable": true,
"type": "string",
"class_name": "string"
}
}
],
"counter": {
"enable": true,
"numeric_type": 0,
"distance": 0,
"min_count": 0,
"max_count": 0,
"class_counts": [
{
"class_id": "string",
"min_count": 0,
"max_count": 0
}
]
},
"class_area": {
"enable": true,
"class_names": [
"string"
],
"color": "string",
"threshold": 0,
"point_type": 0,
"area_type": 0,
"point_distance": {
"enable": true,
"numeric_type": 0,
"min": 0,
"max": 0
}
},
"length_reference": {
"enable": true
},
"temporal": {
"enable": true,
"counter": {
"enable": true,
"numeric_type": 0,
"distance": 0,
"min_count": 0,
"max_count": 0,
"counter_type": 0,
"class_counts": [
{
"class_id": "string",
"min_count": 0,
"max_count": 0
}
]
}
}
}
}
]
}
]
}