Function me_routes

Source
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 user
  • GET /me/tickets → fetch tickets for the logged-in user
  • GET /me/assignments → fetch assignments for the logged-in user
  • GET /me/grades → fetch grades for the logged-in user
  • GET /me/submissions → fetch submissions for the logged-in user
  • GET /me/events → fetch events for the logged-in user

All routes operate on the currently authenticated user and require the application state.