d4c025511d
* Added endpoint - no code - for updating the song from the queue * Added endpoint to update song from queue * Endpoint is now available * Fixed endoint uri * Added tempfile crate for tests * Test is working * Test is operational * Code formatting * Code cleanup
15 lines
589 B
Rust
15 lines
589 B
Rust
pub mod coverart;
|
|
pub mod metadata;
|
|
pub mod song;
|
|
|
|
pub mod endpoints {
|
|
pub const QUEUESONG: &str = "/api/v2/song/queue";
|
|
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";
|
|
pub const QUEUECOVERARTLINK: &str = "/api/v2/coverart/queue/link";
|
|
}
|