mangadex_api::v5::custom_list::id::batch_manga

Module post

Source
Expand description

Builder for adding a batch of manga from a custom list.

NOTICE : This endpoint is not currenlty deployed yet on mangadex.org We will give more information when it will be deployed

§Examples

use uuid::Uuid;

use mangadex_api::v5::MangaDexClient;

let client = MangaDexClient::default();

let list_id = Uuid::new_v4();
let res = client
    .custom_list()
    .id(list_id)
    .batch_manga()
    .post()
    .manga_id(Uuid::new_v4())
    .manga_id(Uuid::new_v4())
    .manga_id(Uuid::new_v4())
    .send()
    .await?;

println!("custom list: {:?}", res);

Structs§