Courses
Online courses: title, slug, description, price, state (draft, published, archived) and access duration. Actions: publish, unpublish, archive. A course with students is not deleted, it is archived.
Module: Courses (courses).
Endpoints
Section titled “Endpoints”GET /api/v1/courses- List with filters, sorting and pagination (scopecourses:read)GET /api/v1/courses/{id}- A record by id (scopecourses:read)POST /api/v1/courses- Create a record (scopecourses:write)PATCH /api/v1/courses/{id}- Modify the submitted fields (scopecourses:write)DELETE /api/v1/courses/{id}- Delete or deactivate (scopecourses:write)POST /api/v1/courses/{id}/publish- Publishes the course (needs at least one lesson and the videos ready). (scopecourses:write)POST /api/v1/courses/{id}/unpublish- Moves the course back to draft. (scopecourses:write)POST /api/v1/courses/{id}/archive- Archives the course: students with access keep it. (scopecourses:write)POST /api/v1/courses/{id}/issue_certificates- Issues certificates for students who already finished. (scopecourses:write)POST /api/v1/courses/{id}/duplicate- Copies the course with chapters and lessons, as a draft without students. (scopecourses:write)POST /api/v1/courses/{id}/reorder- Order of chapters and lessons (they can move between chapters). All must be sent, exactly once. (scopecourses:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).title(string; write, required)slug(string; write)summary(string; write)description(string; write)image_url(string; write)price(number; write)currency(string; write): Currency (ISO code, e.g. RON).status(string; read)access_days(number; 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).certificate_enabled(boolean; write)certificate_template(string; write)certificate_color(string; write)certificate_signer(string; write)instructor_employee_id(string; write)instructor_name(string; write)instructor_title(string; write)instructor_bio(string; write)instructor_photo_url(string; write)qa_enabled(boolean; write)reviews_enabled(boolean; write)
Events
Section titled “Events”courses.createdcourses.updatedcourses.deleted