Skip to main content

get_my_studies

Function get_my_studies 

Source
async fn get_my_studies(
    user: AuthUser,
    pool: Data<PgPool>,
) -> ControllerResult<Json<MyStudies>>
Expand description

GET /api/v0/main-frontend/users/my-studies - The authenticated user’s own study record: every course they are enrolled in, its modules, and their completions.

No user id parameter, so it cannot be pointed at another account. The teacher/admin equivalent is getUserCourseEnrollments.