v4

OpenAPI 3.1.02026-07-3196251302.5 KB
analytics

One metric aggregated per country (or region) — worldmap source

post/v1/analytics.getMetricByScope

Request body

$schemastring uri

A URL to the JSON Schema for this object.

agg'avg' | 'median' | 'count' required

Aggregation applied within each dimension bucket.

dimension'country' | 'region' required

Group rows by this dimension. One bucket per distinct value.

domainstring required

Analytics domain ID. See analytics.listMetrics.

metricstring required

Metric ID within the domain.

Example request

{
  "$schema": "https://api.steamsets.com/schemas/AnalyticsGetMetricByScopeRequestBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://api.steamsets.com/schemas/AnalyticsMetricByScope.json"
}