Add the analytics preview API

This commit is contained in:
Josh Hawkins
2026-09-22 08:22:45 -05:00
parent f0d070899f
commit 1834d9a22e
6 changed files with 100 additions and 2 deletions
+19
View File
@@ -10,6 +10,25 @@ servers:
- url: https://demo.frigate.video/api
- url: http://localhost:5001/api
paths:
/analytics/preview:
get:
tags:
- Analytics
summary: Get Analytics Preview
description: |-
**Access:** Admin role required.
Get the analytics report Frigate would send next, without sending it.
operationId: get_analytics_preview_analytics_preview_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- frigateAdminAuth: []
x-required-role: admin
/auth/first_time_login:
get:
tags: