Label Snapshot
GEThttps://demo.frigate.video/api/:camera_name/:label/snapshot.jpg
Returns the snapshot image from the latest event for the given camera and label combo
Request​
Responses​
- 200
- 422
Successful Response
Validation Error
- 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/:camera_name/:label/snapshot.jpg", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear