pub async fn post_new_page_ordering(
    course_id: Path<Uuid>,
    pool: Data<PgPool>,
    user: AuthUser,
    payload: Json<Vec<Page>>
) -> ControllerResult<Json<()>>
Expand description

POST /api/v0/main-frontend/courses/:id/new-page-ordering - Reorders pages to the given order numbers and given chapters.

Note that the page objects posted here might have the content omitted because it is not needed here and the content makes the request body to be very large.

Creates redirects if url_path changes.