v2.0.127
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
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:
parent
f717f18f8e
commit
53f985d80d
2 changed files with 6 additions and 2 deletions
|
|
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased
|
## [Unreleased
|
||||||
|
|
||||||
|
## [2.0.127] - 2026-03-15
|
||||||
|
### Added
|
||||||
|
- Implement qBittorrent endpoint for counting torrents, thanks to @vinodmishra!
|
||||||
|
|
||||||
## [2.0.126] - 2026-03-14
|
## [2.0.126] - 2026-03-14
|
||||||
### Added
|
### Added
|
||||||
- qBittorrent hash filtering on the /torrrents/info endpoint, thanks to @jfrconley!
|
- qBittorrent hash filtering on the /torrrents/info endpoint, thanks to @jfrconley!
|
||||||
|
|
|
||||||
|
|
@ -192,7 +192,7 @@ public class QBittorrentController(ILogger<QBittorrentController> logger, QBitto
|
||||||
[Route("torrents/count")]
|
[Route("torrents/count")]
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<ActionResult<int>> TorrentsCount([FromQuery] QBTorrentsCountRequest request)
|
public async Task<ActionResult<Int32>> TorrentsCount([FromQuery] QBTorrentsCountRequest request)
|
||||||
{
|
{
|
||||||
var results = await qBittorrent.TorrentInfo();
|
var results = await qBittorrent.TorrentInfo();
|
||||||
|
|
||||||
|
|
@ -206,7 +206,7 @@ public class QBittorrentController(ILogger<QBittorrentController> logger, QBitto
|
||||||
[Authorize(Policy = "AuthSetting")]
|
[Authorize(Policy = "AuthSetting")]
|
||||||
[Route("torrents/count")]
|
[Route("torrents/count")]
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<ActionResult<int>> TorrentsCountPost([FromForm] QBTorrentsCountRequest request)
|
public async Task<ActionResult<Int32>> TorrentsCountPost([FromForm] QBTorrentsCountRequest request)
|
||||||
{
|
{
|
||||||
return await TorrentsCount(request);
|
return await TorrentsCount(request);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue