Skip to main content
GET
/
v2
/
status
Получить статус серверов и API
curl --request GET \
  --url https://api.depscian.tech/v2/status \
  --header 'X-API-Key: <api-key>'
{
  "arizona": [
    {
      "number": 123,
      "name": "<string>",
      "ip": "<string>",
      "port": 123,
      "online": 123,
      "maxplayers": 123,
      "password": true,
      "donateMultiplier": 123,
      "experienceMultiplier": 123,
      "status": "online",
      "status_since": "2023-11-07T05:31:56Z"
    }
  ],
  "api": {
    "servers": {}
  },
  "timestamp": 123
}

Authorizations

X-API-Key
string
header
required

Response

Successful Response

arizona
ArizonaServerInfo · object[]
required

Список серверов Аризоны

api
ServerCacheStatusResponse · object
required

Статус кэша API для каждого сервера

Example:
{
  "servers": {
    "1": {
      "has_online": true,
      "has_sobes": true,
      "last_update": 1686924577
    },
    "2": {
      "has_online": true,
      "has_sobes": false,
      "last_update": 1686924570
    },
    "3": { "has_online": false, "has_sobes": false }
  }
}
timestamp
integer | null

Unix-отметка времени последнего обновления данных о серверах на стороне Аризоны.