Reference
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · min: 1 · max: 100OptionalDefault:
Maximum number of events to return.
10Example: 20camerasstring[]OptionalExample:
Comma-separated list of camera entity_ids.
["camera.front_door","camera.driveway"]categoriesstring[]OptionalExample:
Comma-separated list of categories.
["person","package"]daysintegerOptionalExample:
Time window [now - days, now].
2Responses
200
Successful response
application/json
get
/events200
Successful response
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
event_idstring · uuidRequired
Body
Responses
200
Event updated
application/json
Responseone of
or
400
Invalid request body
404
Event not found
500
Server error
post
/event/{event_id}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
titlestringOptional
descriptionstringOptional
key_framestringOptional
camera_namestringOptional
labelstringOptional
startstringOptional
ISO 8601 string or Unix timestamp
endstringOptional
ISO 8601 string or Unix timestamp
Responses
200
Event created
application/json
400
Invalid JSON body
404
Settings config entry not found
500
Error creating event
post
/events/newLast updated