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-06-11 01:01:37 +02:00
2026-07-26 04:17:08 +02:00
2026-07-26 04:17:08 +02:00
2026-07-26 04:25:40 +02:00
2026-07-26 04:46:40 +02:00
2026-07-26 04:51:25 +02:00
2026-07-26 04:44:22 +02:00
2026-07-26 04:44:22 +02:00
2026-06-11 01:01:37 +02:00
2026-07-26 04:51:25 +02:00
2026-07-26 04:17:08 +02:00
2026-07-26 04:44:22 +02:00
2026-07-26 04:17:08 +02:00
2026-07-26 04:25:40 +02:00
2026-07-26 04:51:25 +02:00
2026-06-12 02:47:55 +02:00
2026-07-26 04:17:08 +02:00
2026-07-26 04:51:25 +02:00
2026-07-26 04:51:25 +02:00
2026-06-21 00:40:54 +02:00
2026-07-24 03:41:29 +02:00
2026-07-26 04:51:25 +02:00
2026-06-15 00:06:57 +02:00