Endpoint is now available

This commit is contained in:
kdeng00
2025-07-28 16:57:16 -04:00
parent d8f0c08cee
commit 04bdef56c9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ pub mod endpoints {
pub const DOWNLOADSONG: &str = "/api/v2/song/download/{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 {
+1
View File
@@ -123,6 +123,7 @@ pub mod init {
crate::callers::endpoints::GETCOVERART,
get(crate::callers::coverart::endpoint::get_coverart),
)
.route(crate::callers::endpoints::DOWNLOADCOVERART, get(crate::callers::coverart::endpoint::download_coverart))
.route(
crate::callers::endpoints::STREAMSONG,
get(crate::callers::song::endpoint::stream_song),