Tournament Leaderboard
Create Tournament Leaderboard
POST
[endpoint]/v2/tournament/create
API to Create Tournament Leaderboard
Headers
Name | Type | Description |
---|---|---|
X-Api-Key* | String | API Key |
Request Body
Name | Type | Description |
---|---|---|
game_id* | String | Game Id |
tournament_type* | String | Tournament Type Option : leaderboard, single_elim, double_elim, round_robin |
tournament_name* | String | Tournament Name |
description* | String | Tournament Description |
start_time* | String | Start Time Tournament |
end_time* | String | End Time Tournament |
participant_limit* | Number | Participant Limit Tournament |
listLeaderboard* | Array | Array Object. The Object field is komo_username(String Required), score_type(String Required), value(Double Required) |
Get Leaderboard Tournament
Get List Leaderboard Tournament
GET
[endpoint]/v2/leaderboard/{tournament_id}
Headers
Name | Type | Description |
---|---|---|
X-Api-Key* | String | API Key |
Request Body
Name | Type | Description |
---|---|---|
sortBy* | String | Sort By Score Type like kill, assist, death, etc. |
sortAsc* | Boolean | True will sorting ascending, False will Descending |
Update Tournament Leaderboard
PUT
[endpoint]/v2/leaderboard/{tournament_id}
This request will type in body with JSON format. The format is Array of Object.
Headers
Name | Type | Description |
---|---|---|
X-Api-Key* | String | API Key |
Request Body
Name | Type | Description |
---|---|---|
komo_username* | String | Komo Username |
score_type* | String | Score Type Tournament |
value* | Number | Value Score Tournament |
Last updated