From f589a60cdebbc915709d21240a0ae9a7ed23a5e0 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 22 Jan 2026 11:11:08 -0600 Subject: [PATCH] add description to api endpoint --- frigate/api/media.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/api/media.py b/frigate/api/media.py index 8b7a7da16..4adf3f890 100644 --- a/frigate/api/media.py +++ b/frigate/api/media.py @@ -126,7 +126,9 @@ async def camera_ptz_info(request: Request, camera_name: str): @router.get( - "/{camera_name}/latest.{extension}", dependencies=[Depends(require_camera_access)] + "/{camera_name}/latest.{extension}", + dependencies=[Depends(require_camera_access)], + description="Returns the latest frame from the specified camera in the requested format (jpg, png, webp). Falls back to preview frames if the camera is offline.", ) async def latest_frame( request: Request,