Перейти до основного вмісту
GET
Get Economy Data

Авторизації

Authorization
string
header
обов'язково

API key for accessing CivOps endpoints.

Passed in the Authorization: Bearer <key> header.

REQUIRED FOR ALL CIVOPS ENDPOINTS (except /health).

Параметри запиту

action
enum<string>
обов'язково

Action type for retrieving data.

Доступні опції:
balance,
leaderboard,
rank,
cooldowns
userId
string

User ID (required for balance, rank, cooldowns).

limit
integer
за замовчуванням:10

Record limit for leaderboard.

Відповідь

Successful response with economy data.

The response is of type object.