Add report photo upload
This commit is contained in:
+1
-1
@@ -28,10 +28,10 @@ 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 one or more multipart files for a report.
|
||||
|
||||
## Admin Reference Data
|
||||
- `GET|POST /admin/categories`
|
||||
- `GET|POST /admin/areas`
|
||||
- `GET|POST /admin/teams`
|
||||
- `GET /admin/stats/overview`
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
- OTP email delivery through MailHog.
|
||||
- Focused regression tests for technical endpoints and core validation helpers.
|
||||
- Local admin seed: `[email protected]` / `ChangeMe123!`, with forced password change flag.
|
||||
- Multipart report photo upload endpoint storing files under `uploads/reports/`.
|
||||
|
||||
## To do next
|
||||
- Harden password hashing with Argon2id or bcrypt before production.
|
||||
|
||||
Reference in New Issue
Block a user