Event
GEThttps://demo.frigate.video/api/events/:event_id
Event
Request
Path Parameters
event_id Event Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (auto)
Schema
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/:event_id", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear