Skip to main content

get_flagged_suspected_cheaters_count

Function get_flagged_suspected_cheaters_count 

Source
async fn get_flagged_suspected_cheaters_count(
    user: AuthUser,
    params: Path<Uuid>,
    pool: Data<PgPool>,
) -> ControllerResult<Json<i64>>
Expand description

GET /api/v0/main-frontend/courses/${course.id}/suspected-cheaters/flagged-count - number of suspected cheaters awaiting review (status flagged). Used to show a review notification to teachers.