Added some fake qBittorrent API calls for decluttarr.
Some checks failed
Release Docker Image / build (map[arch:amd64 platform:linux/amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
Release Docker Image / build (map[arch:arm64 platform:linux/arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
Create GitHub Release / Test, Build, and Bundle (push) Has been cancelled
dotnet test / build (push) Has been cancelled
Release Docker Image / push-images (push) Has been cancelled
Create GitHub Release / Create GitHub release (push) Has been cancelled

This commit is contained in:
Roger Versluis 2025-10-08 21:26:14 -06:00
parent 90c1092fe5
commit 1080143fce
2 changed files with 31 additions and 0 deletions

View file

@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased ## [Unreleased
## [2.0.118] - 2025-10-06
### Added
- Added some fake qBittorrent API calls for decluttarr.
## [2.0.117] - 2025-10-06 ## [2.0.117] - 2025-10-06
### Removed ### Removed
- Removed internal downloader and migrated to the Bezzad downloader. - Removed internal downloader and migrated to the Bezzad downloader.

View file

@ -378,6 +378,15 @@ public class QBittorrentController(ILogger<QBittorrentController> logger, QBitto
return Ok(); return Ok();
} }
[Authorize(Policy = "AuthSetting")]
[Route("torrents/filePrio")]
[HttpGet]
[HttpPost]
public async Task<ActionResult> TorrentsFilePrio()
{
return Ok();
}
[Authorize(Policy = "AuthSetting")] [Authorize(Policy = "AuthSetting")]
[Route("torrents/setCategory")] [Route("torrents/setCategory")]
[HttpGet] [HttpGet]
@ -433,6 +442,15 @@ public class QBittorrentController(ILogger<QBittorrentController> logger, QBitto
return Ok(); return Ok();
} }
[Authorize(Policy = "AuthSetting")]
[Route("torrents/createTags")]
[HttpGet]
[HttpPost]
public ActionResult TorrentsCreateTags()
{
return Ok();
}
[Authorize(Policy = "AuthSetting")] [Authorize(Policy = "AuthSetting")]
[Route("torrents/removeCategories")] [Route("torrents/removeCategories")]
[HttpGet] [HttpGet]
@ -463,6 +481,15 @@ public class QBittorrentController(ILogger<QBittorrentController> logger, QBitto
return Ok(); return Ok();
} }
[Authorize(Policy = "AuthSetting")]
[Route("torrents/tags")]
[HttpGet]
[HttpPost]
public ActionResult TorrentsTags()
{
return Ok(new List<String>());
}
[Authorize(Policy = "AuthSetting")] [Authorize(Policy = "AuthSetting")]
[Route("torrents/topPrio")] [Route("torrents/topPrio")]
[HttpGet] [HttpGet]