TicketSys API
Backend API server running on port 3001.
- POST /api/auth/[...nextauth] — Authentication
- GET/POST /api/tickets — Tickets
- GET/PUT/DELETE /api/tickets/[id] — Single ticket
- PATCH /api/tickets/[id]/status — Update status
- PATCH /api/tickets/[id]/assign — Assign solver
- POST /api/tickets/[id]/comments — Add comment
- GET/POST /api/systems — Systems
- GET/PUT/DELETE /api/systems/[id] — Single system
- GET/POST /api/users — Users
- GET/PUT/DELETE /api/users/[id] — Single user
- GET/POST /api/checklists/templates — Templates
- GET/PUT/DELETE /api/checklists/templates/[id] — Single template
- POST /api/checklists/templates/[id]/items — Add item
- PUT/DELETE /api/checklists/templates/[id]/items/[itemId] — Item operations
- GET/POST /api/checklists/executions — Executions
- GET/DELETE /api/checklists/executions/[id] — Single execution
- PATCH /api/checklists/executions/[id]/complete — Complete execution
- PUT /api/checklists/executions/[id]/responses/[itemId] — Save response
- GET /api/dashboard/stats — Dashboard statistics