Delete song endpoint (#167)

* Added initial code for delete song endpoint

* Saving changes

* More changes

* Made delete song endpoint available

* Response change

* Added test function

* Changes to code

Fixing errors

* How did I miss this?

* Got the test working

* Code cleanup and formatting

* Version bump

* Code changes

* Workflow change
This commit was merged in pull request #167.
This commit is contained in:
KD
2025-07-29 21:34:16 -04:00
committed by GitHub
parent c7230d3b32
commit a0c6ae65a3
7 changed files with 359 additions and 5 deletions
+1
View File
@@ -19,6 +19,7 @@ pub mod endpoints {
pub const GETSONGS: &str = "/api/v2/song";
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}";