Create Event
POSThttps://demo.frigate.video/api/events/:camera_name/:label/create
Create Event
Request​
Path Parameters
camera_name Camera Namerequired
label Labelrequired
- application/json
Body
source_type object
sub_label object
score object
duration object
include_recording object
draw object
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
- Example (auto)
Schema
successSuccess (boolean)required
messageMessage (string)required
event_idEvent Id (string)required
{
"success": true,
"message": "string",
"event_id": "string"
}
Validation Error
- application/json
- Schema
- Example (auto)
Schema
detail object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- python
- nodejs
- javascript
- curl
- rust
- HTTP.CLIENT
- REQUESTS
ResponseClear