Events
GEThttps://demo.frigate.video/api/events
Events
Request
Query Parameters
camera any
cameras any
label any
labels any
sub_label any
sub_labels any
zone any
zones any
limit any
after any
before any
time_range any
has_clip any
has_snapshot any
in_progress any
include_thumbnails any
favorites any
min_score any
max_score any
is_submitted any
min_length any
max_length any
event_id any
sort any
timezone any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
idId (string)required
labelLabel (string)required
sub_label objectrequired
cameraCamera (string)required
start_timeStart Time (number)required
end_time objectrequired
false_positiveFalse Positive (boolean)required
zonesstring[]required
thumbnailThumbnail (string)required
has_clipHas Clip (boolean)required
has_snapshotHas Snapshot (boolean)required
retain_indefinitelyRetain Indefinitely (boolean)required
plus_id objectrequired
model_hash objectrequired
detector_type objectrequired
model_type objectrequired
dataDatarequired
[
{
"id": "string",
"label": "string",
"sub_label": "string",
"camera": "string",
"start_time": 0,
"end_time": 0,
"false_positive": true,
"zones": [
"string"
],
"thumbnail": "string",
"has_clip": true,
"has_snapshot": true,
"retain_indefinitely": true,
"plus_id": "string",
"model_hash": "string",
"detector_type": "string",
"model_type": "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
import http.client
conn = http.client.HTTPSConnection("demo.frigate.video")
payload = ''
headers = {
'Accept': 'application/json'
}
conn.request("GET", "/api/events", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear