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.