Function get_course_progress
Source async fn get_course_progress(
pool: Data<PgPool>,
user: UserFromOAuthToken,
course: Path<Uuid>,
_client: SupportedClient,
) -> ControllerResult<Json<CourseProgress>>
Expand description
- GET /api/v0/exercise-services/client/courses/:id/progress
- Returns the current user’s progress on every exercise of the course that lives in an
- open chapter (the same visibility as
courses/:id/exercises): its awarded and maximum
- points and completed/attempted signals. One round-trip; course totals are derivable by
- summing the returned entries.