Review Preview
GEThttps://demo.frigate.video/api/review/:event_id/preview
Review Preview
Request
Path Parameters
event_id Event Idrequired
Query Parameters
format Format
Possible values: [gif
, mp4
]
Default value:
gif
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
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/review/:event_id/preview", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear