598996cb8d
* tsk-176: Added function to retrieve all songs * tsk-176: Depdendency version bump icarus_envy, icarus_meta, and icarus_models * tsk-176: Fix after icarus_models change * tsk-176: Test fix * tsk-176: Formatting * tsk-176: Endpoint is now available * tsk-176: Added test * tsk-176: Cleanup * tsk-176: Version bump
32 lines
1.4 KiB
Rust
32 lines
1.4 KiB
Rust
pub mod coverart;
|
|
pub mod metadata;
|
|
pub mod song;
|
|
|
|
pub mod endpoints {
|
|
pub const QUEUESONG: &str = "/api/v2/song/queue";
|
|
pub const QUEUESONGLINKUSERID: &str = "/api/v2/song/queue/link";
|
|
pub const QUEUESONGDATA: &str = "/api/v2/song/queue/{id}";
|
|
pub const QUEUESONGUPDATE: &str = "/api/v2/song/queue/{id}";
|
|
pub const NEXTQUEUESONG: &str = "/api/v2/song/queue/next";
|
|
pub const QUEUEMETADATA: &str = "/api/v2/song/metadata/queue";
|
|
pub const QUEUECOVERART: &str = "/api/v2/coverart/queue";
|
|
pub const QUEUECOVERARTDATA: &str = "/api/v2/coverart/queue/data/{id}";
|
|
pub const QUEUECOVERARTLINK: &str = "/api/v2/coverart/queue/link";
|
|
pub const QUEUESONGDATAWIPE: &str = "/api/v2/song/queue/data/wipe";
|
|
pub const QUEUECOVERARTDATAWIPE: &str = "/api/v2/coverart/queue/data/wipe";
|
|
|
|
pub const CREATESONG: &str = "/api/v2/song";
|
|
pub const GETSONGS: &str = "/api/v2/song";
|
|
pub const GETALLSONGS: &str = "/api/v2/song/all";
|
|
pub const STREAMSONG: &str = "/api/v2/song/stream/{id}";
|
|
pub const DOWNLOADSONG: &str = "/api/v2/song/download/{id}";
|
|
pub const DELETESONG: &str = "/api/v2/song/{id}";
|
|
pub const CREATECOVERART: &str = "/api/v2/coverart";
|
|
pub const GETCOVERART: &str = "/api/v2/coverart";
|
|
pub const DOWNLOADCOVERART: &str = "/api/v2/coverart/download/{id}";
|
|
}
|
|
|
|
pub mod response {
|
|
pub const SUCCESSFUL: &str = "SUCCESSFUL";
|
|
}
|