Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Latest commit

 

History

History
14 lines (11 loc) · 1.06 KB

README.md

File metadata and controls

14 lines (11 loc) · 1.06 KB

Moodle Course API

The Moodle-Course-API provides a read-only interface to easily query whether a user has completed a course, or a quiz. This can be used in other applications (such as the Training-Center) to determine a member's progress within a specific course.

API Interface

Method Path Parameters Response
GET /course_completed {course_id: number, user_id: number} {course_name: string, completed: bool, completed_at: Date}
GET /quiz_completed {module_id: number, user_id: number} Result of the SELECT statement
GET /delete_attempts_and_override {quiz_id: number, user_id: number} {message: string, overridesDeleted: number, attemptsDeleted: number}