pub fn me_routes() -> Router<AppState>
Expand description
Builds and returns the /me
route group.
Routes:
GET /me/announcements
→ fetch announcements for the logged-in userGET /me/tickets
→ fetch tickets for the logged-in userGET /me/assignments
→ fetch assignments for the logged-in userGET /me/grades
→ fetch grades for the logged-in userGET /me/submissions
→ fetch submissions for the logged-in userGET /me/events
→ fetch events for the logged-in user
All routes operate on the currently authenticated user and require the application state.