Expand description
Controllers for requests starting with /api/v0/course-material/exercises
.
Structsยง
Functionsยง
- _add_
routes - Add a route for each controller in this module.
- get_
exercise ๐ - GET
/api/v0/course-material/exercises/:exercise_id
- Get exercise by id. Includes relevant context so that doing the exercise is possible based on the response. - get_
peer_ ๐review_ for_ exercise - GET
/api/v0/course-material/exercises/:exercise_id/peer-review
- Get peer review for an exercise. This includes the submission to peer review and the questions the user is supposed to answer.ALTER - get_
peer_ ๐reviews_ received - GET
/api/v0/course-material/exercises/:exercise_id/peer-review-received
- Get peer review recieved from other student for an exercise. This includes peer review submitted and the question asociated with it. - post_
flag_ ๐answer_ in_ peer_ review - POST `/api/v0/course-material/exercises/:exercise_id/flag-peer-review-answer - Post a report of an answer in peer review made by a student
- post_
submission ๐ - POST
/api/v0/course-material/exercises/:exercise_id/submissions
- Post new submission for an exercise. - start_
peer_ ๐or_ self_ review - POST
/api/v0/course-material/exercises/:exercise_id/peer-or-self-reviews/start
- Post a signal indicating thatthe user will start the peer or self reviewing process.This operation is only valid for exercises marked for peer reviews. No further submissions will beaccepted after posting to this endpoint. - submit_
peer_ ๐or_ self_ review - POST `/api/v0/course-material/exercises/:exercise_id/peer-or-self-reviews - Post a peer review or a self review for anexercise submission.