Add a route for each controller in this module.
POST /api/v0/cms/exams/:exam_id/duplicate
- duplicates existing exam.
POST /api/v0/main-frontend/organizations/{organization_id}/edit-exam
- edits an exam.
GET /api/v0/main-frontend/exams/:id/export-points
GET /api/v0/main-frontend/exams/:id/export-submissions
GET `/api/v0/main-frontend/exams/:id
GET /api/v0/main-frontend/exam/:exam_id/submissions-with-exam-id
- Returns all the exercise submissions and user exercise states with exam_id.
GET /api/v0/main-frontend/exam/:exercise_id/submissions-with-exercise_id
- Returns all the exercise submissions and user exercise states with exercise_id.
GET /api/v0/main-frontend/exam/:exam_id/exam-exercises
- Returns all the exercises with exam_id.
POST /api/v0/main-frontend/exam/:exam_id/release-grades
- Publishes grading results of an exam by updating user_exercise_states according to teacher_grading_decisons and changes teacher_grading_decisions hidden field to false. Takes teacher grading decision ids as input.
POST /api/v0/main-frontend/exams/:id/set
POST /api/v0/main-frontend/exams/:id/unset