Add the ability to set a pre_capture number of seconds when creating a manual event via the API. Default behavior unchanged

This commit is contained in:
nulledy
2026-02-08 17:49:50 +00:00
parent d8038d02e4
commit 477d77634b
4 changed files with 12 additions and 1 deletions
+7
View File
@@ -3133,6 +3133,7 @@ paths:
duration: 30
include_recording: true
draw: {}
pre_capture: null
responses:
"200":
description: Successful Response
@@ -4935,6 +4936,12 @@ components:
- type: "null"
title: Draw
default: {}
pre_capture:
anyOf:
- type: integer
- type: "null"
title: Pre Capture Seconds
default: null
type: object
title: EventsCreateBody
EventsDeleteBody: