frigate/frigate/api
Josh Hawkins 12e9bb3944 fix profile config inheritance bug where Pydantic defaults override base values
The /config API was dumping profile overrides with model_dump() which included
all Pydantic defaults. When the frontend merged these over
the camera's base config, explicitly-set base values were
lost. Now profile overrides are re-dumped with exclude_unset=True so only
user-specified fields are returned.

Also fixes the Save All path generating spurious deletion markers for
restart-required fields that are hidden during profile
editing but not excluded from the raw data sanitization in
prepareSectionSavePayload.
2026-03-12 11:20:03 -05:00
..
defs add profile API endpoints (GET /profiles, GET/PUT /profile) 2026-03-09 14:47:29 -05:00
__init__.py Update flask and restructure into api folder with apis put into separate folders (#10193) 2024-03-02 22:10:37 +00:00
app.py fix profile config inheritance bug where Pydantic defaults override base values 2026-03-12 11:20:03 -05:00
auth.py show log when anonymous users log in (#22254) 2026-03-05 16:17:41 -07:00
camera.py Add ability to delete cameras (#22336) 2026-03-08 16:23:48 -06:00
chat.py Add GenAI Backend Streaming and Chat (#22152) 2026-02-27 09:07:30 -07:00
classification.py Add languages (#21870) 2026-02-03 13:29:52 -06:00
debug_replay.py Debug replay (#22212) 2026-03-04 10:07:34 -06:00
event.py Allow API Events to be Detections or Alerts, depending on the Event Label (#21923) 2026-02-26 21:27:56 -07:00
export.py Refactor Time-Lapse Export (#21668) 2026-02-26 21:27:56 -07:00
fastapi_app.py wire ProfileManager into app startup and FastAPI 2026-03-09 14:47:29 -05:00
media.py Add dynamic configuration for more fields (#22295) 2026-03-06 13:45:39 -07:00
motion_search.py Improve motion review and add motion search (#22253) 2026-03-05 17:53:48 -06:00
notification.py API admin exemptions and route guard updates (#21094) 2025-11-29 07:30:04 -06:00
preview.py Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
record.py Improve motion review and add motion search (#22253) 2026-03-05 17:53:48 -06:00
review.py Add support for multiple GenAI Providers (#22144) 2026-02-27 08:35:33 -07:00