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
## [2.0.118] - 2025-10-06
### Added
- Added some fake qBittorrent API calls for decluttarr.
## [2.0.117] - 2025-10-06
### Removed
- Removed internal downloader and migrated to the Bezzad downloader.

View file

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