Xeonr Developer Docs
Server APIAPI SpecificationTimeseries

Get players by country

POST
/serversapi.v1.TimeseriesService/GetPlayersByCountry

Retrieve time-series data showing the global distribution of players by country.

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token obtained via logging in with an identity provider.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://server-api.sagl.app/serversapi.v1.TimeseriesService/GetPlayersByCountry" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "countries": [
    {
      "country": "string",
      "datapoints": [
        {
          "timestamp": "string",
          "value": 0
        }
      ]
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}