peter
a622470a28
refactor(api): Pydantic request models for small route modules (R6 S1b)
payload:dict → typed request models across the single/double-endpoint modules:
- tags: TagCreateIn / TagUpdateIn (color:null clears → reads model_fields_set);
_own_tag now delegates to owned_or_404.
- config: ConfigSetIn(value:Any) — keeps the "Missing 'value'" 400 via model_fields_set.
- me: SwitchAccountIn(user_id:int).
- scheduler: JobIntervalIn / MaintenanceSettingsIn — the manual int()+400 becomes a
clean 422 on a non-number; the range checks stay 400.
- search: ClearSearchIn(video_ids:list[str]).
- public: WatchUnlockIn(password:str).
Gate: ruff clean, pytest 164 green.
2026-07-26 04:51:25 +02:00
..
2026-07-23 03:38:57 +02:00
2026-07-26 04:51:25 +02:00
2026-07-26 04:25:40 +02:00
2026-06-11 01:01:37 +02:00
2026-06-11 01:01:37 +02:00
2026-07-21 03:29:24 +02:00
2026-07-12 03:49:08 +02:00
2026-06-21 06:53:12 +02:00
2026-07-21 03:29:24 +02:00
2026-07-21 03:36:42 +02:00
2026-07-03 22:46:32 +02:00
2026-07-12 02:15:52 +02:00