v4

latestOpenAPI 3.1.02026-07-3196251302.5 KB
analytics

Histogram + summary stats for a metric in a scope

post/v1/analytics.getDistribution

Request body

$schemastring uri

A URL to the JSON Schema for this object.

domainstring required

Analytics domain ID. See analytics.listMetrics.

metricstring required

Metric ID within the domain.

scopestring required

Scope ID within the domain (global, country, region, …).

scope_valuestring

Scope value — country name or ISO code ("Germany" / "DE"), region name ("Europe"). Required for non-global scopes.

Example request

{
  "$schema": "https://api.steamsets.com/schemas/AnalyticsGetDistributionRequestBody.json",
  "scope_value": "DE"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

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