mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 08:18:12 +03:00
change some field names in leaderboards-adjacent
This commit is contained in:
@@ -687,7 +687,8 @@ GET /api/v1/users/zkldi/games/iidx/SP/most-played
|
||||
| `above` | Array<UserGameStats> | Up to 5 users' game stats better than this user. |
|
||||
| `below` | Array<UserGameStats> | Same as above, but below the user. |
|
||||
| `users` | Array<UserDocument> | The user documents related to the above statistics. |
|
||||
| `yourStats` | UserGameStats | The requested user's stats for this game. |
|
||||
| `thisUsersStats` | UserGameStats | The requested user's stats for this GPT. |
|
||||
| `thisUsersRanking` | {outOf: integer, ranking: integer} | The requested user's ranking for this GPT. |
|
||||
|
||||
### Example
|
||||
|
||||
@@ -737,6 +738,10 @@ GET /api/v1/users/zkldi/games/iidx/SP/leaderboard-adjacent
|
||||
classes: {
|
||||
dan: 5
|
||||
}
|
||||
},
|
||||
thisUsersRanking: {
|
||||
ranking: 2,
|
||||
outOf: 3
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user