mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-08 22:35:42 +03:00
* Update classification API docs * Add information to events api * Fix tag * Add exports * Add generic response to model for classification apis * Add preview API information * Cleanup * Cleanup
18 lines
329 B
Python
18 lines
329 B
Python
from typing import List
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class RenameFaceBody(BaseModel):
|
|
new_name: str
|
|
|
|
|
|
class AudioTranscriptionBody(BaseModel):
|
|
event_id: str
|
|
|
|
|
|
class DeleteFaceImagesBody(BaseModel):
|
|
ids: List[str] = Field(
|
|
description="List of image filenames to delete from the face folder"
|
|
)
|