Skip to content

Server status

GET
/api/status

Health/status check for the api-player service. Returns service identity, current timestamp and process uptime in seconds. Does not require authentication.

Responses

Successful Response
JSON
{
"status": "string",
"service": "string",
"timestamp": "string",
"uptime": 0
}

Samples

cURL
curl -X GET https://api-game.kkapi.co/api/status
JavaScript
fetch("https://api-game.kkapi.co/api/status")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://api-game.kkapi.co/api/status");
Python
import requests
response = requests.get("https://api-game.kkapi.co/api/status")
print(response.json())