Enrollment API Overview¶
Use the Enrollment API to view user and course enrollment information and to enroll a user in a course.
Enrollment API Version and Status¶
The Enrollment API is currently at version 1.0. We plan to make significant enhancements to this API.
Enrollment API Endpoints¶
The Enrollment API supports the following tasks, methods, and endpoints.
Task | Method | Endpoint |
---|---|---|
Get the user’s enrollment status in a course | GET | /api/enrollment/v1/enrollment/{user_id},{course_id} |
Get the user’s enrollment information for a course | GET | /api/enrollment/v1/course/{course_id} |
View a user’s enrollments | GET | /api/enrollment/v1/enrollment |
Enroll a user in a course | POST | /api/enrollment/v1/enrollment{“course_details”:{“course_id”:”{course_id}”}} |