Expand description
Ticket retrieval handlers.
Provides endpoints to fetch tickets for an assignment.
Users can retrieve a single ticket or a list of tickets, with support for filtering, sorting, and pagination. The endpoints validate that the user has permission to view the ticket(s) before returning data.
Structs§
- Filter
Req - Query parameters for filtering, sorting, and pagination
- Filter
Response - Response for a paginated list of tickets
Functions§
- get_
ticket - GET /api/modules/{module_id}/assignments/{assignment_id}/tickets/{ticket_id}
- get_
tickets - Retrieves tickets for an assignment with optional filtering, sorting, and pagination.