Expand description
Builder for the report reasons list endpoint.
https://api.mangadex.org/docs/swagger.html#/Report/get-report-reasons-by-category
§Examples
use mangadex_api_types::ReportCategory;
use mangadex_api::v5::MangaDexClient;
let client = MangaDexClient::default();
// Known issue: Despite the MangaDex API documents stating that authorization is required,
// this endpoint is available to guests.
let res = client
.report()
.reasons()
.category(ReportCategory::Manga)
.get()
.send()
.await?;
println!("report reasons: {:?}", res);
Structs§
- Builder for
ListReasons
.