mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Add description to snapshot api
This commit is contained in:
parent
f81ac43be6
commit
03b18fdc1a
@ -800,7 +800,10 @@ def vod_event(event_id: str):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@router.get("/events/{event_id}/snapshot.jpg")
|
@router.get(
|
||||||
|
"/events/{event_id}/snapshot.jpg",
|
||||||
|
description="Returns a snapshot image for the specified object id. NOTE: The query params only take affect while the event is in-progress. Once the event has ended the snapshot configuration is used.",
|
||||||
|
)
|
||||||
def event_snapshot(
|
def event_snapshot(
|
||||||
request: Request,
|
request: Request,
|
||||||
event_id: str,
|
event_id: str,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user