Key fields
Ordering
lessonIndex is not edited directly. PATCH /lessons/reorder takes the sequence and rewrites the indices together, so the order stays contiguous no matter how a lesson is moved.
Endpoints
Full endpoint reference is available in the OpenAPI spec. Key operations:GET /lessons: list lessons, scoped to a coursePOST /lessons: create a lessonGET /lessons/{id}: get a lessonPUT /lessons/{id}: update itPATCH /lessons/reorder: reorder a course’s lessonsDELETE /lessons/{id}: delete a lesson
