Course enrollments
Who has access to which course, from when until when (source: manual or purchase). POST grants access; actions: revoke, restore.
Module: Courses (courses).
Endpoints
Section titled “Endpoints”GET /api/v1/course_enrollments- List with filters, sorting and pagination (scopecourses:read)GET /api/v1/course_enrollments/{id}- A record by id (scopecourses:read)POST /api/v1/course_enrollments- Create a record (scopecourses:write)PATCH /api/v1/course_enrollments/{id}- Modify the submitted fields (scopecourses:write)DELETE /api/v1/course_enrollments/{id}- Delete or deactivate (scopecourses:write)POST /api/v1/course_enrollments/{id}/revoke- Withdraws access; progress is kept. (scopecourses:write)POST /api/v1/course_enrollments/{id}/restore- Restores withdrawn access. (scopecourses:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).course_id(string; write, required)party_id(string, uuid; write, required)source(string; read)status(string; read)starts_at(string, date-time; read)ends_at(string; write)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).completed_notified_at(string, date-time; read)
Events
Section titled “Events”course_enrollments.createdcourse_enrollments.updatedcourse_enrollments.deleted