Get current player stats
Retrieve aggregate statistics about currently online players across all tracked servers.
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 in
1Connect-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.StatisticsService/CurrentPlayers" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"onlinePlayers": 0,
"maxPlayers": 0,
"averagePlayers": 0,
"percentFull": 100
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}