Backend Service:
- UpdateTicket: update status/priority (owner or admin)
- CloseTicket: convenience method to set status=closed
- DeleteTicket: admin only, removes ticket and messages
- ListAllTickets: admin only, with optional status filter
Handlers:
- PATCH /api/v1/support/tickets/{id} - update ticket
- PATCH /api/v1/support/tickets/{id}/close - close ticket
- DELETE /api/v1/support/tickets/{id} - delete ticket (admin)
- GET /api/v1/support/tickets/all - list all tickets (admin)
All endpoints with Swagger annotations
|
||
|---|---|---|
| .. | ||
| admin_handlers.go | ||
| chat_handlers.go | ||
| core_handlers.go | ||
| core_handlers_test.go | ||
| location_handlers.go | ||
| settings_handler.go | ||
| storage_handler.go | ||