Module get

Source
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§

FilterReq
Query parameters for filtering, sorting, and pagination
FilterResponse
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.