Function mark_allocator_routes

Source
pub fn mark_allocator_routes() -> Router<AppState>
Expand description

Registers routes related to the mark allocator system.

The following endpoints are exposed at /:

  • POST /generate a new mark allocator based on memo output files.
  • GET /load an existing allocator from disk.
  • PUT /save updated allocator data to disk.

All routes require lecturer authentication using the require_lecturer middleware.