async fn remove_chapter_image(
chapter_id: Path<Uuid>,
pool: Data<PgPool>,
user: AuthUser,
file_store: Data<dyn FileStore>,
) -> ControllerResult<Json<()>>
Expand description
DELETE /api/v0/main-frontend/chapters/:chapter_id/image
- Removes the chapter image.
ยงExample
Request:
DELETE /api/v0/main-frontend/chapters/d332f3d9-39a5-4a18-80f4-251727693c37/image HTTP/1.1