MCPcopy Create free account
hub / github.com/aptabase/aptabase / StatsController

Method StatsController

src/Features/Stats/StatsController.cs:212–216  ·  view source on GitHub ↗
(IQueryClient queryClient, GeoIPClient geodb)

Source from the content-addressed store, hash-verified

210 }
211
212 [HttpGet("/api/_stats/top-countries")]
213 public async Task<IActionResult> TopCountries([FromQuery] QueryParams body, CancellationToken cancellationToken)
214 {
215 return await TopN("country_code", body.Granularity ?? GranularityEnum.Hour, TopNValue.UniqueSessions, body, cancellationToken);
216 }
217
218 [HttpGet("/api/_stats/top-osversions")]
219 public async Task<IActionResult> TopOSVersions([FromQuery] QueryParams body, CancellationToken cancellationToken)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected