mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35:22 +03:00
Add docs for new apis
This commit is contained in:
parent
fb306ed946
commit
0142aef2f8
@ -168,6 +168,16 @@ Events from the database. Accepts the following query string parameters:
|
|||||||
| `include_thumbnails` | int | Include thumbnails in the response (0 or 1) |
|
| `include_thumbnails` | int | Include thumbnails in the response (0 or 1) |
|
||||||
| `in_progress` | int | Limit to events in progress (0 or 1) |
|
| `in_progress` | int | Limit to events in progress (0 or 1) |
|
||||||
|
|
||||||
|
### `GET /api/timeline`
|
||||||
|
|
||||||
|
Timeline of key moments of an event(s) from the database. Accepts the following query string parameters:
|
||||||
|
|
||||||
|
| param | Type | Description |
|
||||||
|
| -------------------- | ---- | --------------------------------------------- |
|
||||||
|
| `camera` | int | Epoch time |
|
||||||
|
| `source_id` | str | , separated list of cameras |
|
||||||
|
| `limit` | int | Limit the number of events returned |
|
||||||
|
|
||||||
### `GET /api/events/summary`
|
### `GET /api/events/summary`
|
||||||
|
|
||||||
Returns summary data for events in the database. Used by the Home Assistant integration.
|
Returns summary data for events in the database. Used by the Home Assistant integration.
|
||||||
@ -233,6 +243,10 @@ Accepts the following query string parameters, but they are only applied when an
|
|||||||
|
|
||||||
Returns the snapshot image from the latest event for the given camera and label combo. Using `any` as the label will return the latest thumbnail regardless of type.
|
Returns the snapshot image from the latest event for the given camera and label combo. Using `any` as the label will return the latest thumbnail regardless of type.
|
||||||
|
|
||||||
|
### `GET /api/<camera_name>/recording/<frame_time>/snapshot.png`
|
||||||
|
|
||||||
|
Returns the snapshot image from the specific point in that cameras recordings.
|
||||||
|
|
||||||
### `GET /clips/<camera>-<id>.jpg`
|
### `GET /clips/<camera>-<id>.jpg`
|
||||||
|
|
||||||
JPG snapshot for the given camera and event id.
|
JPG snapshot for the given camera and event id.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user