async fn get_chapters_exercises(
chapter_id: Path<Uuid>,
pool: Data<PgPool>,
auth: Option<AuthUser>,
) -> ControllerResult<Json<Vec<PageWithExercises>>>
Expand description
GET /api/v0/course-material/chapters/:chapter_id/exercises
- Returns a list of pages and its exercises in chapter.