⬆️Admin API

Change settings programatically

⬆️ Admin edit tier prizes

Change tiers, prizes, and other settings programmatically. A tier prize object looks like this

{
    "currency": "currency id", //Use the nil uuid for galaxy points
    "values": "100,20,10" //String of prizes by rank separated by commas (1st place, 2nd place, etc)
}

Edit Tiers

PATCH https://api.galaxysdk.com/api/v1/server/leaderboard/:leaderboard_id/tiers

Change tier settings programatically.

Path Parameters

NameTypeDescription

leaderboard_id*

String

The leaderboard ID

Headers

NameTypeDescription

Secret-Key*

String

Your server API Key

Request Body

NameTypeDescription

tier_index

Int

The index of the tier you're editing

prizes

TierPrize[]

An array of TierPrize objects (defined above)

Last updated