Module assignments

Source
Expand description

Assignment routes module.

Provides the /assignments route group with full CRUD and nested functionality.

Routes include:

  • Create, read, update, delete assignments (single and bulk)
  • Open/close assignments
  • Assignment stats and readiness checks
  • Nested routes for tasks, config, memo output, mark allocation, submissions, files, interpreter, tickets, and plagiarism

Access control is enforced via middleware guards for lecturers, assistants, and assigned users.

Modules§

common
Assignment request and response models.
config
delete
Assignment deletion routes.
files
File Routes Module
get
Assignment routes and response models.
interpreter
File Routes Module
mark_allocator
memo_output
plagiarism
Plagiarism routes module.
post
Assignment creation route.
put
Assignment management routes.
submissions
Submission routes module.
tasks
Task Routes Module
tickets
Ticket routes module.

Functions§

assignment_routes
Expects a module ID. If an assignment ID is included it will be modified or deleted.