added event endpoints

This commit is contained in:
vextrixes committed 2026-10-29 17:08:56 +01:00
1 parent 2adf27dbed
commit dd48a53be9
8 files changed
+37 -12

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
use std::marker::PhantomData;
use crate::{Endpoint, Events};
pub const EVENTS_ENDPOINT: Endpoint<Events, ()> = Endpoint::Get {
url: "/api/3/events",
auth: true,
_types: PhantomData,
};
pub const MY_EVENTS_ENDPOINT: Endpoint<Events, ()> = Endpoint::Get {
url: "/api/3/events/my",
auth: true,
_types: PhantomData,
};