Range
Function
This API is used to get the parameter range of Event Settings(cloud dedicated) > Event Setting.
Note:
The Range provides reference information for client UI input limits and API request limits. When sending Get and Set requests, the parameters must be strictly limited according to the Range, otherwise the request may be rejected by the device.
Request Message
None.
Sample:
POST /API/Event/ChnSmart/Range HTTP/1.1
{
"version": "1.0",
"data": {}
}
Response Message
Parameter Description
Table 1
Parameter | Range | Type | Description |
---|---|---|---|
abilities | array | Supported intelligence,see Table 2 for more information |
Table 2
Parameter | Range | Type | Description |
---|---|---|---|
title | "Thermal", "Target Detection", "Vehicle Intelligence", "Behavior Analysis", "Statistics Analysis", "Normal Event" | string | Intelligent differentiation module |
ability | "FireDetection", "TemperatureMeasurement", "FaceDetection", "HumanVehicle", "LicensePlate", "LineCrossing", "Intrusion", "Intrusion", "ExitRegion", "ObjectDetection", "CrossCounting", "CrossCounting", "QueueLength", "CrowdDensity", "RareSound", "MotionDetection", "VideoTampering" | array | Corresponding intelligence |
Tips:
The response message of the Range request may not contain all the fields in the above table, and the fields not included indicate that the device does not support this parameter configuration.
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {"abilities": [
{
"title": "Thermal",
"ability": [
"FireDetection",
"TemperatureMeasurement"
]
},
{
"title": "Target Detection",
"ability": [
"FaceDetection",
"HumanVehicle"
]
},
{
"title": "Behavior Analysis",
"ability": [
"LineCrossing",
"Intrusion",
"EnterRegion",
"ExitRegion",
"ObjectDetection"
]
},
{
"title": "Statistics Analysis",
"ability": [
"CrossCounting",
"HeatMap",
"QueueLength",
"CrowdDensity",
"RareSound"
]
},
{
"title": "Normal Event",
"ability": ["MotionDetection"]
}
]}
}
Error Code
See Response Messages Body and Common error_code for more information.