#91: Deprecating upload endpoint #106

Merged
kdeng00 merged 3 commits from tsk-91 into master 2025-02-27 19:35:39 -05:00
3 changed files with 5 additions and 1 deletions
Showing only changes of commit e61ea68fba - Show all commits
+2
View File
@@ -14,6 +14,8 @@
/appsettings.Development.json
appsettings.Development.json
appsettings.json
Icarus/appsettings.Development.json
Icarus/appsettings.json
Icarus/bin
Icarus/obj
Models/bin
@@ -167,6 +167,7 @@ public class SongManager : BaseManager
}
// TODO: Delete
public async Task SaveSongToFileSystem(IFormFile songFile)
{
try
+2 -1
View File
@@ -79,9 +79,10 @@ public class SongDataController : BaseController
// Cover art
//
[HttpPost("upload"), DisableRequestSizeLimit]
[Obsolete("Support for this endoint is no longer supported")]
public IActionResult Upload([FromForm(Name = "file")] List<IFormFile> songData)
{
return new StatusCodeResult(410);
return new StatusCodeResult(StatusCodes.Status410Gone);
}
// The client is expected to send the file, metadata, and cover art separately.