Skip to content

Commit

Permalink
Update frigate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iursevla authored Jun 12, 2024
1 parent 9f94a86 commit 129090f
Showing 1 changed file with 22 additions and 29 deletions.
51 changes: 22 additions & 29 deletions frigate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ paths:
content:
video/mpeg:
schema:
type: string
format: binary
/api/{camera_name}/latest.jpg:
get:
Expand Down Expand Up @@ -211,7 +210,6 @@ paths:
content:
image/jpeg:
schema:
type: string
format: binary
/api/{camera_name}/{label}/thumbnail.jpg:
get:
Expand All @@ -236,7 +234,6 @@ paths:
content:
image/jpeg:
schema:
type: string
format: binary
/api/{camera_name}/{label}/clip.mp4:
get:
Expand All @@ -261,7 +258,6 @@ paths:
content:
video/mp4:
schema:
type: string
format: binary
/api/{camera_name}/{label}/snapshot.jpg:
get:
Expand All @@ -286,7 +282,6 @@ paths:
content:
image/jpeg:
schema:
type: string
format: binary
/api/{camera_name}/grid.jpg:
get:
Expand Down Expand Up @@ -314,7 +309,6 @@ paths:
content:
image/jpeg:
schema:
type: string
format: binary


Expand Down Expand Up @@ -434,14 +428,14 @@ paths:
type: array
items:
$ref: '#/components/schemas/EventsSummaryResponse'
/api/events/{id}:
/api/events/{event_id}:
get:
tags:
- Events
summary: Get Event by ID
description: Returns data for a single event
parameters:
- name: id
- name: event_id
in: path
required: true
schema:
Expand Down Expand Up @@ -473,14 +467,14 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/BaseResponse'
/api/events/{id}/retain:
/api/events/{event_id}/retain:
post:
tags:
- Events
summary: Retain Event by ID
description: Sets retain to true for the event id
parameters:
- name: id
- name: event_id
in: path
required: true
schema:
Expand Down Expand Up @@ -573,23 +567,30 @@ paths:
properties:
subLabel:
type: string
description: The sub label
subLabelScore:
type: number
description: The score for the sub label
example:
{
"subLabel": "random",
"subLabelScore": 0.8
}
responses:
'200':
description: Sub label set response
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResponse'
/api/events/{id}/thumbnail.jpg:
/api/events/{event_id}/thumbnail.jpg:
get:
tags:
- Events
summary: Get Event Thumbnail
description: Returns a thumbnail for the event id optimized for notifications
parameters:
- name: id
- name: event_id
in: path
required: true
schema:
Expand All @@ -604,16 +605,15 @@ paths:
content:
image/jpeg:
schema:
type: string
format: binary
/api/events/{id}/clip.mp4:
/api/events/{event_id}/clip.mp4:
get:
tags:
- Events
summary: Get Event Clip
description: Returns the clip for the event id
parameters:
- name: id
- name: event_id
in: path
required: true
schema:
Expand All @@ -624,16 +624,15 @@ paths:
content:
video/mp4:
schema:
type: string
format: binary
/api/events/{id}/snapshot-clean.png:
/api/events/{event_id}/snapshot-clean.png:
get:
tags:
- Events
summary: Get Clean Snapshot
description: Returns the clean snapshot image for the event id
parameters:
- name: id
- name: event_id
in: path
required: true
schema:
Expand All @@ -648,16 +647,15 @@ paths:
content:
image/png:
schema:
type: string
format: binary
/api/events/{id}/snapshot.jpg:
/api/events/{event_id}/snapshot.jpg:
get:
tags:
- Events
summary: Get Event Snapshot
description: Returns the snapshot image for the event id. Works while the event is in progress and after completion.
parameters:
- name: id
- name: event_id
in: path
required: true
schema:
Expand All @@ -681,7 +679,7 @@ paths:
in: query
schema:
type: integer
description: Crop the snapshot to the (0 or 1)
description: Crop the snapshot (0 or 1)
- name: quality
in: query
schema:
Expand All @@ -698,7 +696,6 @@ paths:
content:
image/jpeg:
schema:
type: string
format: binary
/api/events/{camera_name}/{label}/create:
post:
Expand Down Expand Up @@ -810,7 +807,6 @@ paths:
content:
image/gif:
schema:
type: string
format: binary
/api/preview/{camera_name}/start/{start-timestamp}/end/{end-timestamp}:
get:
Expand Down Expand Up @@ -843,7 +839,7 @@ paths:
type: array
items:
$ref: '#/components/schemas/MetadataForPreviewsInRangeResponse'
/api/preview/{year}-{month}/{day}/{hour}/{camera_name}/{timezone}:
/api/preview/{year}-{month}/{day}/{hour}/{camera_name}/{timezone_name}:
get:
tags:
- Previews
Expand Down Expand Up @@ -875,7 +871,7 @@ paths:
required: true
schema:
type: string
- name: timezone
- name: timezone_name
in: path
required: true
schema:
Expand Down Expand Up @@ -907,7 +903,6 @@ paths:
content:
image/jpeg:
schema:
type: string
format: binary
/api/{camera_name}/start/{start-timestamp}/end/{end-timestamp}/preview.gif:
get:
Expand Down Expand Up @@ -937,7 +932,6 @@ paths:
content:
image/gif:
schema:
type: string
format: binary


Expand Down Expand Up @@ -1156,7 +1150,6 @@ paths:
content:
image/png:
schema:
type: string
format: binary


Expand Down

0 comments on commit 129090f

Please sign in to comment.