Expand description
Builder for starting an edit chapter session.
https://api.mangadex.org/docs/swagger.html#/Upload/begin-edit-session
use uuid::Uuid;
use mangadex_api::MangaDexClient;
// use mangadex_api_types::{Password, Username};
use mangadex_api_types::Language;
let client = MangaDexClient::default();
/*
let _login_res = client
.auth()
.login()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.send()
.await?;
*/
let chapter_id = Uuid::new_v4();
let res = client
.upload()
.begin()
.chapter_id(chapter_id)
.post()
.version(2_u32)
.send()
.await?;
println!("edit chapter session start: {:?}", res);
Structsยง
- Start an edit chapter session.
- Builder for
StartEditChapterSession
.