Update api.md (#7971)

* Update api.md

* Update api.md
This commit is contained in:
tpjanssen 2023-09-29 01:00:32 +02:00 committed by GitHub
parent d11c1a2066
commit 50b17031c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,7 @@ 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` ### `GET /api/<camera_name>/recordings/<frame_time>/snapshot.png`
Returns the snapshot image from the specific point in that cameras recordings. Returns the snapshot image from the specific point in that cameras recordings.
@ -321,7 +321,7 @@ Create a manual event with a given `label` (ex: doorbell press) to capture a spe
```json ```json
{ {
"subLabel": "some_string", // add sub label to event "sub_label": "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 "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 "include_recording": true, // whether the event should save recordings along with the snapshot that is taken
"draw": { "draw": {