Function headless_lms_server::controllers::course_material::course_modules::get_course_module_id_by_chapter_id
source · async fn get_course_module_id_by_chapter_id(
chapter_id: Path<Uuid>,
pool: Data<PgPool>,
user: AuthUser
) -> ControllerResult<Json<Uuid>>
Expand description
GET /api/v0/course-material/course-modules/chapter/:chapter_id
Returns course module id based on chapter.