Get events
GEThttps://demo.frigate.video/api/events
Returns a list of events.
Requestâ
Query Parameters
camera object
Default value:
allcameras object
Default value:
alllabel object
Default value:
alllabels object
Default value:
allsub_label object
Default value:
allsub_labels object
Default value:
allzone object
Default value:
allzones object
Default value:
alllimit object
Default value:
100after object
before object
time_range object
Default value:
00:00,24:00has_clip object
has_snapshot object
in_progress object
include_thumbnails object
Default value:
1favorites object
min_score object
max_score object
min_speed object
max_speed object
recognized_license_plate object
Default value:
allis_submitted object
min_length object
max_length object
event_id object
sort object
timezone object
Default value:
utcResponsesâ
- 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_positive objectrequired
zonesstring[]required
thumbnail objectrequired
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
dataobjectrequired
[
{
"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",
"data": {}
}
]
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