Added some fake qBittorrent API calls for decluttarr.

This commit is contained in:
Roger Versluis 2025-10-08 21:26:14 -06:00
parent 90c1092fe5
commit d647709aeb
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]