kolaente
782c17c01d
feat(api/v2): upload user avatar via multipart
...
Add PUT /api/v2/user/settings/avatar, the first multipart/form-data file
upload on the Huma-backed v2 API. Reuses v1's byte-level mime validation
(mimetype.DetectReader) and storage (upload.StoreAvatarFile), modeling the
request as a huma.MultipartFormFiles input so it renders as multipart/form-data
in the OpenAPI spec instead of being read off the raw echo context.
Flips the user's avatar provider to "upload" on success. Authenticated (JWT).
2026-06-02 11:55:25 +00:00
..
2026-04-20 18:55:06 +00:00
2026-04-20 18:55:06 +00:00
2026-04-20 18:55:06 +00:00
2026-05-31 12:56:57 +00:00
2026-05-31 12:56:57 +00:00
2026-03-30 12:28:15 +00:00
2026-03-30 12:28:15 +00:00
2026-03-30 12:28:15 +00:00
2026-05-15 17:25:09 +02:00
2026-05-01 14:44:10 +00:00
2026-05-15 17:25:09 +02:00
2026-05-15 17:25:09 +02:00
2026-05-01 14:44:10 +00:00
2026-05-01 14:44:10 +00:00
2026-05-01 14:44:10 +00:00
2025-10-31 17:28:52 +00:00
2025-09-10 16:40:59 +00:00
2026-05-20 21:02:14 +00:00
2026-05-20 21:02:14 +00:00
2026-04-09 16:07:48 +00:00
2026-04-09 09:26:04 +00:00
2026-03-23 16:23:15 +01:00
2025-06-10 12:18:38 +02:00
2025-08-13 11:05:05 +02:00
2026-04-09 10:45:34 +00:00
2026-04-09 10:45:34 +00:00
2026-02-25 11:03:02 +01:00
2025-08-13 11:05:05 +02:00
2026-04-09 15:43:04 +00:00
2025-08-13 11:05:05 +02:00
2026-02-25 11:03:02 +01:00
2025-08-13 11:05:05 +02:00
2026-04-09 15:43:04 +00:00
2026-05-31 15:27:44 +02:00
2025-08-13 11:05:05 +02:00
2026-04-09 15:38:07 +00:00
2026-04-09 15:38:07 +00:00
2026-05-30 13:48:01 +00:00
2026-02-17 18:01:05 +01:00
2026-03-08 16:03:47 +01:00
2025-12-10 12:39:05 +01:00
2026-06-02 11:55:25 +00:00
2026-05-30 13:48:01 +00:00
2026-03-27 23:05:04 +00:00
2025-08-13 11:05:05 +02:00
2026-05-15 17:25:09 +02:00
2026-05-15 17:25:09 +02:00
2026-03-27 23:05:04 +00:00
2025-08-13 11:05:05 +02:00
2025-12-04 10:16:16 +01:00
2026-04-09 16:22:56 +00:00
2026-02-25 11:03:02 +01:00
2026-04-20 18:55:06 +00:00
2026-02-25 11:56:25 +01:00
2026-02-25 11:56:25 +01:00
2026-04-20 18:55:06 +00:00
2026-02-25 11:03:02 +01:00
2026-03-03 12:46:34 +01:00
2026-04-11 17:20:53 +00:00
2026-02-25 11:03:02 +01:00
2026-04-20 18:55:06 +00:00
2026-02-25 11:03:02 +01:00
2026-03-23 12:06:16 +00:00
2026-04-20 18:55:06 +00:00
2026-06-01 13:04:34 +00:00
2026-06-02 07:38:08 +00:00
2025-08-13 11:05:05 +02:00
2026-02-25 11:03:02 +01:00
2025-08-13 11:05:05 +02:00
2026-04-09 07:25:57 +00:00
2025-08-13 11:05:05 +02:00
2025-08-13 11:05:05 +02:00
2026-04-09 07:25:57 +00:00
2026-02-25 10:30:25 +01:00
2026-02-25 11:03:02 +01:00
2026-05-20 21:02:14 +00:00
2025-08-13 11:05:05 +02:00
2026-02-25 11:03:02 +01:00
2025-08-13 11:05:05 +02:00
2025-08-13 11:05:05 +02:00
2026-05-26 19:43:16 +00:00
2025-08-13 11:05:05 +02:00
2026-04-09 16:22:56 +00:00
2026-05-06 16:08:16 +02:00
2026-02-26 16:09:13 +01:00
2026-02-26 16:09:13 +01:00
2025-06-10 12:18:38 +02:00
2025-06-10 12:18:38 +02:00
2026-05-19 10:35:43 +02:00
2026-06-01 13:04:34 +00:00
2025-10-09 10:53:18 +02:00
2026-03-03 12:46:34 +01:00
2026-03-29 00:43:58 +01:00
2026-03-04 17:20:26 +01:00
2026-06-01 14:13:39 +02:00
2026-03-08 19:45:53 +01:00
2026-03-08 19:45:53 +01:00
2026-04-09 07:25:57 +00:00
2026-04-09 07:25:57 +00:00
2026-04-05 12:20:35 +00:00
2025-08-13 11:05:05 +02:00
2025-08-13 11:05:05 +02:00
2026-03-03 12:46:34 +01:00
2026-03-08 19:45:53 +01:00
2026-03-08 19:45:53 +01:00
2026-02-25 12:15:28 +01:00
2025-06-25 11:38:24 +00:00
2026-04-02 16:30:23 +00:00
2025-11-27 15:14:42 +01:00
2026-05-31 12:56:57 +00:00
2026-04-11 20:44:28 +00:00
2026-05-31 12:56:57 +00:00
2026-04-20 18:55:06 +00:00
2025-10-09 13:33:27 +02:00
2026-03-23 12:06:16 +00:00
2025-06-10 12:18:38 +02:00
2025-08-13 11:05:05 +02:00
2026-04-20 18:55:06 +00:00
2025-08-13 11:05:05 +02:00
2026-05-20 23:32:47 +02:00
2025-06-10 12:18:38 +02:00
2026-05-06 16:08:16 +02:00
2026-05-01 14:44:10 +00:00
2026-05-01 14:44:10 +00:00
2025-07-30 15:50:26 +00:00
2025-08-13 11:05:05 +02:00
2025-06-10 12:18:38 +02:00
2026-03-08 19:45:53 +01:00
2026-04-09 09:26:04 +00:00