diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-12-01 15:49:51 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-12-01 15:49:51 -0600 |
| commit | 5f21eaf17493d7c167e00bd833393227d7cace9e (patch) | |
| tree | 2de92c2e08d90304fc7af69b5b41d4960a2d1e33 /src/slskd/Telemetry/API/StatisticsController.cs | |
| parent | 446954d439c0cae5ed054882f5dba398a2607cab (diff) | |
| download | slskd-5f21eaf17493d7c167e00bd833393227d7cace9e.tar.gz | |
comment out todo endpoints
Diffstat (limited to 'src/slskd/Telemetry/API/StatisticsController.cs')
| -rw-r--r-- | src/slskd/Telemetry/API/StatisticsController.cs | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/slskd/Telemetry/API/StatisticsController.cs b/src/slskd/Telemetry/API/StatisticsController.cs index 68bcb46c..a1d7203d 100644 --- a/src/slskd/Telemetry/API/StatisticsController.cs +++ b/src/slskd/Telemetry/API/StatisticsController.cs @@ -415,23 +415,23 @@ public class StatisticsController : ControllerBase } } - [HttpGet("transfers/directories")] - [Authorize(Policy = AuthPolicy.Any)] - [ProducesResponseType(typeof(Dictionary<string, int>), 200)] - public IActionResult GetTransferSummaryByDirectory( - [FromQuery] int? limit = null, - [FromQuery] int? offset = null) - { - // todo: get a list of all directories downloaded at least once, along with the number of times downloaded (doesn't matter what status) - return null; - } - - [HttpGet("users/{base64Name}")] - [Authorize(Policy = AuthPolicy.Any)] - public IActionResult GetUser( - [FromRoute] string base64Name) - { - // todo: get everything we can about the user - return null; - } + // [HttpGet("transfers/directories")] + // [Authorize(Policy = AuthPolicy.Any)] + // [ProducesResponseType(typeof(Dictionary<string, int>), 200)] + // public IActionResult GetTransferSummaryByDirectory( + // [FromQuery] int? limit = null, + // [FromQuery] int? offset = null) + // { + // // todo: get a list of all directories downloaded at least once, along with the number of times downloaded (doesn't matter what status) + // return null; + // } + + // [HttpGet("users/{base64Name}")] + // [Authorize(Policy = AuthPolicy.Any)] + // public IActionResult GetUser( + // [FromRoute] string base64Name) + // { + // // todo: get everything we can about the user + // return null; + // } } |
