Xeonr Developer Docs
Server APIAPI SpecificationTimeseries

Get server ping history

POST
/serversapi.v1.TimeseriesService/GetServerPing

Retrieve historical ping latency data for a specific server over a given time period.

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

ipAddress?string

Server IP address.

port?integer

Server port number.

Default"7777"
Formatint32
Range1 <= value <= 65535
period?string

Time period for the data.

Value in"DAY" | "WEEK" | "MONTH"
[key: string]?never

Response Body

application/json

application/json

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