Skip to main content

get_user_suspected_cheaters

Function get_user_suspected_cheaters 

Source
pub async fn get_user_suspected_cheaters(
    user_id: Path<Uuid>,
    pool: Data<PgPool>,
    auth_user: AuthUser,
) -> ControllerResult<Json<Vec<UserSuspectedCheaterInfo>>>
Expand description

GET /api/v0/main-frontend/users/:id/suspected-cheaters - Cross-course suspected-cheater records for a user, each paired with the course’s applicable duration threshold. Teacher/admin (global) view; read-only (confirm/dismiss happen on the per-course cheaters page).