Function headless_lms_server::controllers::course_material::chapters::get_public_chapter_pages
source · async fn get_public_chapter_pages(
chapter_id: Path<Uuid>,
pool: Data<PgPool>,
auth: Option<AuthUser>
) -> ControllerResult<Json<Vec<Page>>>
Expand description
GET /api/v0/course-material/chapters/:chapter_id/pages
- Returns a list of pages in chapter.