feat: update area management to implement hard delete and adjust related references

This commit is contained in:
gabdevele
2026-06-15 15:50:12 +02:00 Unverified
parent bf85168914
commit 4f80d7f995
9 changed files with 30 additions and 24 deletions
+2 -1
View File
@@ -46,7 +46,7 @@ Authorization: Bearer <token>
## Public Reference / Public Access
- `GET /areas`
active municipal areas
municipal areas
- `GET /interventions/{token}`
public external-team summary link
- `GET /open-data/reports`
@@ -115,6 +115,7 @@ Authorization: Bearer <token>
- `POST /admin/areas`
- `PATCH /admin/areas/{id}`
- `DELETE /admin/areas/{id}`
deletes area and clears linked `reports.area_id` and `teams.area_id`
area polygon must stay inside allowed Bari municipal boundary
- `POST /admin/teams`
- `PATCH /admin/teams/{id}`