Expand description
The exercise tools: get_exercise and patch_exercise read and edit an exercise’s name, own
deadline, task instructions and review instructions, and list_exercises lists a course’s
exercises. Everything else of an exercise is read-only for agents.
Re-exports§
pub use get::GetExercise;pub use list::ListExercises;pub use patch::PatchExercise;
Modules§
- get 🔒
get_exercise: an exercise’s facts and reads of its instructions and task specs.- list 🔒
list_exercises: every exercise of a course, chapter or page with the facts course-wide checks compare, without reading each exercise.- patch 🔒
patch_exercise: edits of an exercise’s name, own deadline, instructions and review config.- paths 🔒
- Exercise paths:
/tasks/<task id>/...and/review_instructions/..., and the page-content paths of the instructions they lead into. - review_
config 🔒 - Checking a
patch_exercisecall’s review config choice, and what switching drops. - specs 🔒
- Reading a task’s specs through
get_exercise:/tasks/<task id>/specs[/<kind>[/<pointer>]].
Structs§
- Exercise
Deadline 🔒 - An exercise’s own deadline and the one that applies to it, its chapter’s without an own one.
Constants§
Functions§
- missing_
exercise 🔒 - open_
course_ 🔒with_ exercise - The course with the records of the exercises on the pages holding
exercise_idloaded.