Module tickets

Source
Expand description

§My Tickets Handlers

Provides endpoints to fetch tickets for assignments associated with the currently authenticated user.

Users can retrieve a paginated list of tickets, filtered by role, year, status, and search query.
The results include assignment, module, and user details.
Students only see their own tickets, while lecturers and assistants can view other users’ tickets.

Structs§

AssignmentResponse
Response object for an assignment
FilterReq
Query parameters for filtering, sorting, and pagination of tickets
FilterResponse
Response for a paginated list of tickets
ModuleResponse
Response object for a module
TicketsResponse
Response for a single ticket
UserResponse
Response object for a user

Functions§

get_my_tickets
Retrieves tickets for the currently authenticated user.