Module exercise

Source

Functions§

download_course_exercise
get /api/v8/org/{organization_slug}/courses/{course_name}/exercises/{exercise_name}/download Download the exercise as a zip file
get_course_exercises
get /api/v8/org/{organization_slug}/courses/{course_name}/exercises Returns all exercises of the course as json. Course is searched by name
get_course_exercises_by_id
get /api/v8/courses/{course_id}/exercises Returns all exercises of the course as json. Course is searched by id
get_exercise_submissions_for_current_user
get api/v8/exercises/{exercise_id}/users/current/submissions Returns the current user’s submissions for the exercise in a json format. The exercise is searched by id.
get_exercise_submissions_for_user
get api/v8/exercises/{exercise_id}/users/{user_id}/submissions Returns the submissions visible to the user in a json format