Function get_students_by_country_totals

Source
async fn get_students_by_country_totals(
    pool: Data<PgPool>,
    user: AuthUser,
    path: Path<Uuid>,
    cache: Data<Cache>,
) -> ControllerResult<Json<Vec<StudentsByCountryTotalsResult>>>
Expand description

GET /api/v0/main-frontend/{course_id}/stats/students-by-country-totals

Returns all enrolled students grouped by country.