Skip to main content

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

FieldTypeDescription
idnumberRegion identifier when returned by the server.
enabledbooleanEnable or disable the region.
namestringRegion name.
polygonVertex[]Vertices that define the polygon.
detection_configsDetection Configuration[]Detection rules for the region.
motion_detectionMotion DetectionMotion-detection settings.