added some endpoints

This commit is contained in:
vextrixes committed 2026-10-28 22:37:05 +01:00
1 parent fedbf019b4
commit 2adf27dbed
18 files changed
+254 -9

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
use std::marker::PhantomData;
use crate::{ContentType, Endpoint, Marks};
pub const CONFIRM_MARKS_ENDPOINT: Endpoint<(), Vec<String>> = Endpoint::Post {
url: "/api/3/marks/SetClassificationConfirmation",
auth: true,
content_type: ContentType::Json,
_types: PhantomData,
};
pub const COUNT_NEW_MARKS_ENDPOINT: Endpoint<i64, ()> = Endpoint::Get {
url: "/api/3/marks/count-new",
auth: true,
_types: PhantomData,
};
pub const MARKS_ENDPOINT: Endpoint<Marks, ()> = Endpoint::Get {
url: "/api/3/marks",
auth: true,
_types: PhantomData,
};