mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Correct docs and add json example
This commit is contained in:
parent
28f909baaa
commit
ccf3b72467
@ -296,11 +296,18 @@ Get ffprobe output for camera feed paths.
|
||||
|
||||
Get PTZ info for the camera.
|
||||
|
||||
### `POST /api/events/manual/<camera_name>/<label>/create`
|
||||
### `POST /api/events/<camera_name>/<label>/create`
|
||||
|
||||
Create a manual API with a given `label` (ex: doorbell press) to capture a specific event besides an object being detected.
|
||||
NOTE: This call will return the unique ID for the event which will be required to `end` the event.
|
||||
|
||||
### `POST /api/events/manual/<event_id>/end`
|
||||
```json
|
||||
{
|
||||
"subLabel": "some_string", // add sub label to event
|
||||
"duration": 30, // predetermined length of event (default: 30 seconds) or can be to null for indeterminate length event
|
||||
"include_recording": true // whether the event should save recordings along with the snapshot that is taken
|
||||
}
|
||||
```
|
||||
|
||||
End a specific manual event.
|
||||
### `POST /api/events/<event_id>/end`
|
||||
|
||||
End a specific manual event without a predetermined length.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user