Add a new area for the camera

Add a new object in area \ tripwire area for the camera. For an onject in area area, we need to provide atleast 3 coordinate points. For a trip-wire area, we need to provide atleast 2 coordinate points. A maximum of 10 areas can be created.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the camera.

Body Params
string
length between 1 and 32

Name of the area.

color
object
required
boolean

If exclude is false, the area specified has to be analysed. If it is true, the area has to be excluded for analysis and rest of the area has to be analysed. This is only applicable for an 'object in area' area and not applicable for a tripwire area

coordinates
array of objects
required

Set of x and y coordinates of the area.

coordinates*
string
enum
required

Types of Areas

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json