Wersja API. Bez v używana jest najniższa obsługiwana wersja. Podaj v=1.0.0, aby zachować opisany kontrakt. Nieprawidłowe, powtórzone lub nieobsługiwane wartości zwracają HTTP 400.
Odpowiedź
200
Type: ServerEnvelope
Server details response
response
Type: Server
required
Poprawna odpowiedź zawiera wynik w response. Lista może być tablicą lub obiektem z items; sprawdź schemat tej operacji.
id
Type: integer
min:
1
max:
9007199254740991
required
Integer numbers.
parked
Type: boolean
required
add_date
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Czas Unix w sekundach (UTC).
app
Type: objectnullable
id
Type: integer
min:
-9007199254740991
max:
9007199254740991
Integer numbers.
name
Type: string
steam_id
nullable
Steam App ID of the game. Use this as game_steam_id when searching servers.
Type: integer
min:
-9007199254740991
max:
9007199254740991
Integer numbers.
url
Type: string
ban_reason
Type: string|null
banned
Type: boolean
boosts
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
bots
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
city
Type: string|null
color
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
connect
Type: string|null
country
Type: string|null
description
Type: string|null
Opis serwera jako lista bloków zakodowana w ciągu JSON.
disabled_modules
Type: array ofstring
domain
Type: string|null
game
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
gamemode
Type: string|null
hidden
Type: boolean
hide_address
Type: boolean
hide_query
Type: boolean
icon
Type: string|null
ip
Type: string|null
language
Type: string|null
last_offline
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Czas Unix w sekundach (UTC).
last_online
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Czas Unix w sekundach (UTC).
last_update
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Czas Unix w sekundach (UTC).
list_hidden
Type: boolean
map
Type: string|null
map_url
Type: string|null
maxplayers
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
mods
Type: array ofobject
id
Type: integer
min:
-9007199254740991
max:
9007199254740991
required
Integer numbers.
name
Type: string
required
name
Type: string|null
next_wipe
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Czas Unix w sekundach (UTC).
numplayers
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
official
nullable
Type: boolean
points
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
port
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
position_game
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
private
nullable
Type: boolean
project_id
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
pve
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
pvp
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
query
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
request
Type: string|null
secured
nullable
Type: boolean
status
Type: boolean
steam_id
nullable
Zachowuj identyfikatory tekstowe jako tekst, aby uniknąć utraty precyzji.
Type: integer
min:
-9007199254740991
max:
9007199254740991
Integer numbers.
version
Type: string|null
votes
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Integer numbers.
wipe
Type: integer
min:
-9007199254740991
max:
9007199254740991nullable
Czas Unix w sekundach (UTC).
wipe_period
Type: string|null
application/json
400
Type: ErrorEnvelope
Nieprawidłowe parametry lub JSON. Sprawdź typy, wymagane pola i dozwolone wartości.
error
Type: object
required
code
Type: integer
required
Kod odpowiedzi HTTP.
message
Type: string
required
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
data
Dodatkowe szczegóły błędu, jeśli są dostępne.
application/json
404
Type: ErrorEnvelope
Żądany zasób nie istnieje.
error
Type: object
required
code
Type: integer
required
Kod odpowiedzi HTTP.
message
Type: string
required
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
data
Dodatkowe szczegóły błędu, jeśli są dostępne.
application/json
503
Type: ErrorEnvelope
Usługa jest tymczasowo niedostępna. Spróbuj później.
error
Type: object
required
code
Type: integer
required
Kod odpowiedzi HTTP.
message
Type: string
required
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
data
Dodatkowe szczegóły błędu, jeśli są dostępne.
application/json
504
Type: ErrorEnvelope
Przekroczono czas zapytania. Spróbuj później lub zawęź zapytanie.
error
Type: object
required
code
Type: integer
required
Kod odpowiedzi HTTP.
message
Type: string
required
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
data
Dodatkowe szczegóły błędu, jeśli są dostępne.
application/json
default
Type: ErrorEnvelope
Nieoczekiwany błąd serwera. Obiekt error zawiera rzeczywisty kod odpowiedzi.
error
Type: object
required
code
Type: integer
required
Kod odpowiedzi HTTP.
message
Type: string
required
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
Serwer
LLMWyślij do LLM
PobierzPobierz
Serwer
Serwer
Zwraca publiczne dane serwera.
Parametry URL
Integer numbers.
Parametry zapytania
Wersja API. Bez v używana jest najniższa obsługiwana wersja. Podaj v=1.0.0, aby zachować opisany kontrakt. Nieprawidłowe, powtórzone lub nieobsługiwane wartości zwracają HTTP 400.
Odpowiedź
Server details response
Poprawna odpowiedź zawiera wynik w response. Lista może być tablicą lub obiektem z items; sprawdź schemat tej operacji.
Integer numbers.
Czas Unix w sekundach (UTC).
Integer numbers.
Steam App ID of the game. Use this as game_steam_id when searching servers.
Integer numbers.
Integer numbers.
Integer numbers.
Integer numbers.
Opis serwera jako lista bloków zakodowana w ciągu JSON.
Integer numbers.
Czas Unix w sekundach (UTC).
Czas Unix w sekundach (UTC).
Czas Unix w sekundach (UTC).
Integer numbers.
Integer numbers.
Czas Unix w sekundach (UTC).
Integer numbers.
Integer numbers.
Integer numbers.
Integer numbers.
Integer numbers.
Integer numbers.
Integer numbers.
Integer numbers.
Zachowuj identyfikatory tekstowe jako tekst, aby uniknąć utraty precyzji.
Integer numbers.
Integer numbers.
Czas Unix w sekundach (UTC).
Nieprawidłowe parametry lub JSON. Sprawdź typy, wymagane pola i dozwolone wartości.
Kod odpowiedzi HTTP.
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
Dodatkowe szczegóły błędu, jeśli są dostępne.
Żądany zasób nie istnieje.
Kod odpowiedzi HTTP.
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
Dodatkowe szczegóły błędu, jeśli są dostępne.
Usługa jest tymczasowo niedostępna. Spróbuj później.
Kod odpowiedzi HTTP.
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
Dodatkowe szczegóły błędu, jeśli są dostępne.
Przekroczono czas zapytania. Spróbuj później lub zawęź zapytanie.
Kod odpowiedzi HTTP.
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
Dodatkowe szczegóły błędu, jeśli są dostępne.
Nieoczekiwany błąd serwera. Obiekt error zawiera rzeczywisty kod odpowiedzi.
Kod odpowiedzi HTTP.
Komunikat w języku API. Treść może się zmieniać; obsługuj błędy na podstawie kodu odpowiedzi.
Dodatkowe szczegóły błędu, jeśli są dostępne.
curl https://api.gamemonitoring.pl/servers/1{ "response": { "steam_id": "90123456789012345", "domain": null, "id": 1, "ip": "198.51.100.24", "port": 27015, "query": 27015, "project_id": 42, "color": 0, "city": "Prague", "description": "[]", "game": 730, "boosts": 3, "last_offline": 1782751200, "last_online": 1783201200, "icon": null, "name": "Example CS2 Server", "connect": "198.51.100.24:27015", "request": "198.51.100.24:27015", "map": "de_mirage", "gamemode": "Counter-Strike 2", "version": "1.41.6.5", "numplayers": 12, "maxplayers": 64, "bots": 0, "secured": true, "private": false, "country": "CZ", "status": true, "votes": 128, "points": 2450, "add_date": 1701541119, "last_update": 1783201200, "ban_reason": null, "banned": false, "wipe": null, "official": null, "wipe_period": null, "next_wipe": null, "pve": null, "pvp": null, "list_hidden": false, "hide_address": false, "hide_query": false, "position_game": 12, "language": "en", "parked": false, "app": { "id": 2, "steam_id": 730, "name": "Counter-Strike 2", "url": "counter-strike-2" }, "mods": [ { "id": 5, "name": "Admin System" }, { "id": 14, "name": "Advertisement" }, { "id": 9, "name": "Admins" }, { "id": 3, "name": "Admin Commands" } ], "disabled_modules": [] } }Server details response