Cosmetics API
POST /api/reward/tracks/:trackId:/buy
Section titled “POST /api/reward/tracks/:trackId:/buy”Description: Buys a track.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
POST /api/reward/tracks/:trackId:/skip
Section titled “POST /api/reward/tracks/:trackId:/skip”Description: Skips a track.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
| tiers | Tiers to skip | yes |
GET /api/reward/tracks
Section titled “GET /api/reward/tracks”Description: Returns tracks object made of ApiRewardTrack objects.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | no |
GET /api/shop/available
Section titled “GET /api/shop/available”Description: Returns ApiShopAvailableResponse object.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | no |
| sections | Options: all, items, iaps, packs, timedDeals | no |
POST /api/shop/discord/handle
Section titled “POST /api/shop/discord/handle”Description: Unknown.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
POST /api/shop/unity/handle
Section titled “POST /api/shop/unity/handle”Description: Unknown.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
POST /api/reward/tracks/mid-season/buy
Section titled “POST /api/reward/tracks/mid-season/buy”Description: Obsolete.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | yes |
GET /api/reward/tracks/mid-season
Section titled “GET /api/reward/tracks/mid-season”Description: Obsolete.
Query Parameters:
| NAME | DESCRIPTION | REQUIRED |
|---|---|---|
| userKey | Account token | no |