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-24 01:50:50 +02:00
2026-07-24 04:52:41 +02:00
2026-07-26 04:51:25 +02:00
2026-06-14 04:40:22 +02:00
2026-07-24 04:44:20 +02:00
2026-07-23 22:36:33 +02:00
2026-06-11 01:01:37 +02:00
2026-07-12 07:47:07 +02:00
2026-07-26 04:17:08 +02:00
2026-07-12 07:32:41 +02:00
2026-07-06 07:14:28 +02:00
2026-07-12 04:34:07 +02:00
2026-07-24 04:44:20 +02:00
2026-07-25 18:22:07 +02:00
2026-07-21 21:47:26 +02:00
2026-06-18 04:01:10 +02:00
2026-06-30 02:52:44 +02:00
2026-06-16 09:17:14 +02:00
2026-06-25 22:05:35 +02:00
2026-07-23 03:50:04 +02:00
2026-07-11 21:26:39 +02:00
2026-06-26 03:15:36 +02:00
2026-07-12 07:32:41 +02:00
2026-07-22 02:48:16 +02:00
2026-07-23 03:38:57 +02:00
2026-07-26 04:25:40 +02:00
2026-07-24 04:44:20 +02:00