headless_lms_server::controllers::main_frontend::users

Function get_my_courses

Source
async fn get_my_courses(
    user: AuthUser,
    pool: Data<PgPool>,
) -> ControllerResult<Json<Vec<Course>>>
Expand description

GET /api/v0/main-frontend/users/my-courses - Gets all the courses the user has either started or gotten a permission to.