async fn get_course_instance_exercises(
pool: Data<PgPool>,
user: AuthToken,
course_instance: Path<Uuid>
) -> ControllerResult<Json<Vec<ExerciseSlide>>>
Expand description
- GET /api/v0/langs/course-instances/:id/exercises
- Returns the user’s exercise slides for the given course instance.
- Does not return anything for chapters which are not open yet.
- Selects slides for exercises with no slide selected yet.
- Only returns slides which have tasks that are compatible with langs.