Add api docs for review api (#13613)

This commit is contained in:
Nicolas Mowen 2024-09-07 13:21:38 -06:00 committed by GitHub
parent e7dfbf76bb
commit 2fc58fea81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -381,6 +381,14 @@ List of frames in the preview cache for the time range. Previews are only kept i
Specific preview frame from preview cache. Specific preview frame from preview cache.
### `GET /review/<review_id>/preview`
Looping image made from preview video / frames during this review item.
| param | Type | Description |
| --------- | ---- | -------------------------------- |
| `format` | str | Format of preview [`gif`, `mp4`] |
### `GET /<camera>/start/<start-timestamp>/end/<end-timestamp>/preview` ### `GET /<camera>/start/<start-timestamp>/end/<end-timestamp>/preview`
Looping image made from preview video / frames during this time range. Looping image made from preview video / frames during this time range.