async fn get_all_course_language_versions(
    pool: Data<PgPool>,
    course_id: Path<Uuid>,
    user: Option<AuthUser>
) -> ControllerResult<Json<Vec<Course>>>
Expand description

GET /api/v0/course-material/courses/:id/language-versions - Returns all language versions of the same course. Since this is for course material, this does not include draft courses. To make developing new courses easier, we include draft courses if the course the request for is a draft course and the teacher has a permission to access it.