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"
}
],
"timestamp": 123,
"api": {
"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
}
}
}
}
Информация о данных серверов
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"
}
],
"timestamp": 123,
"api": {
"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
}
}
}
}
Successful Response
The response is of type object
.