Ability to retain specific clips / events indefinitely (#2831)

This commit is contained in:
Nicolas Mowen
2022-02-21 21:03:01 -07:00
committed by GitHub
parent cbf26e09a4
commit 4004048add
11 changed files with 161 additions and 4 deletions

View File

@@ -188,6 +188,14 @@ Returns data for a single event.
Permanently deletes the event along with any clips/snapshots.
### `POST /api/events/<id>/retain`
Sets retain to true for the event id.
### `DELETE /api/events/<id>/retain`
Sets retain to false for the event id (event may be deleted quickly after removing).
### `GET /api/events/<id>/thumbnail.jpg`
Returns a thumbnail for the event id optimized for notifications. Works while the event is in progress and after completion. Passing `?format=android` will convert the thumbnail to 2:1 aspect ratio.