Add report media uploads

This commit is contained in:
gabdevele
2026-06-02 20:38:44 +02:00 Unverified
parent b59536757b
commit 1ef41bb2a3
12 changed files with 77 additions and 46 deletions
+3 -1
View File
@@ -30,7 +30,9 @@ Authorization: Bearer <token>
- `GET /reports/{id}/messages`: list report messages.
- `POST /reports/{id}/assignments`: assign a team.
- `POST /reports/{id}/feedback`: add citizen feedback.
- `POST /reports/{id}/photos`: upload up to five JPEG/PNG/WebP multipart files.
- `POST /reports/{id}/media`: upload up to five multipart media files. Supported
types are JPEG, PNG, WebP, MP4, WebM and QuickTime. The legacy
`/reports/{id}/photos` path is kept as a compatibility alias.
## Admin Reference Data
- `GET|POST /admin/categories`