Region
Reference for the Region JSON element.
See also: Region
Example
{
"name": "Front Entrance",
"enabled": true,
"polygon": [{ "x": 0, "y": 0 }, { "x": 200, "y": 0 }, { "x": 200, "y": 200 }],
"detection_configs": []
}
Fields
| Field | Type | Description |
|---|---|---|
id | number | Region identifier when returned by the server. |
enabled | boolean | Enable or disable the region. |
name | string | Region name. |
polygon | Vertex[] | Vertices that define the polygon. |
detection_configs | Detection Configuration[] | Detection rules for the region. |
motion_detection | Motion Detection | Motion-detection settings. |