headless_lms_server::controllers::course_material::pages

Function get_url_path

Source
async fn get_url_path(
    page_id: Path<Uuid>,
    pool: Data<PgPool>,
) -> ControllerResult<String>
Expand description

GET /api/v0/course-material/pages/:page_id/url-path - returns the page’s URL path.

§Example

"chapter-1/page-2"