Loading…

Get schedule matchup chart data

Returns the matchup chart data organized by group, round, and game, which can be used by the front end to draw the matchup chart. ```javascript WXAPI.tournamentMatchChart({ token: '000' }) ``` + token current user login credentials + id schedule ID ```json { "code": 0, "msg": "success", "data": { "scheduleId": 4, "scheduleName": "Preliminary Round", "matchType": "Single defeat", "groups": [ { "drawGroup": 1, "winnerRounds": [ { "matchRound": 4, "roundDisplay": "F", "matches": [ { "id": 459, "matchOrder": 15, "roundDisplay": "F", "drawNumber1": 1, "uid1": 110880138, "drawNumber2": 9, "uid2": 110839609, "winnerUid": 110880138, "matchScore": "1-0", "matchStatus": 2, "dateStart": "2026-05-12 21:31:41", "prevMatchId1": 457, "prevMatchId2": 458 } ] } ], "loserRounds": [] } ], "userMap": { "110806137": { "id": 110806137, "mobile": "186****6762", "nick": "g****ng", "province": "Zhejiang Province", "city": "Hangzhou City", "avatarUrl": "https://dcdn.it120.cc/cuser/166/2026/04/23/52daa04c-d4f3-415e-ae7e-fa3a0d0d2902.jpeg", "isSeller": false, "gender": 1, "genderStr": "male" } } } } ``` + scheduleId schedule ID + scheduleName schedule name + matchType: single elimination/double elimination + groups group list (each group has its own set of matches) - drawGroup draws group numbers - winnerRounds winner group round list (both single defeat/double defeat) * matchRound competition round (quarter finals = round 3, finals = round N) * roundDisplay round display number: W8/W4/SF/F/L8/L4/LF/WF/WSF/GF * matches List of games in this round (sorted by matchOrder) + id event ID + matchOrder game sequence number (within the same round) + roundDisplay round display number + drawNumber1 player 1 draw number (null means to be determined) + uid1 User ID of player 1 (null means to be determined) + drawNumber2 Player 2 draw number (null means to be determined) + uid2 Player 2 user ID (null means to be determined) + winnerUid winning player ID + matchScore match score (eg: 9-5) + matchStatus status: 0-not started 1-in progress 2-end + dateStart match start time + prevMatchId1 uid1 source event ID (when uid1 is null, the front end traces the source through this ID) + prevMatchId2 uid2 source event ID (when uid2 is null, the front end traces the source through this ID) + nextMatchId winner's promotion match ID + loserNextMatchId The loser’s destination match ID (only for double defeats) + prevRoundDisplay1 uid1 roundDisplay of the source event (such as L8), which facilitates the front-end to directly display traceability tags + prevRoundDisplay2 uid2 roundDisplay of the source event (such as L8), which facilitates the front-end to directly display traceability tags - loserRounds loser round list (only for double defeat, empty for single defeat) * Field description is the same as winnerRounds - grandFinal finals games (only for double defeats, null for single defeats) * Field description, the same as the event object field under matches above + userMap player user information - avatarUrl avatar - mobile phone number - nick name - uid user number - province the province where it is located - city where the city is located - gender gender 0 unknown 1 male 2 female