mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-14 02:54:44 +02:00
forgot to push the doc
This commit is contained in:
@ -95,8 +95,8 @@ Input needed :
|
||||
```json
|
||||
{
|
||||
"opponent": "<the opponent's username>",
|
||||
"p1Score": <player 1's score>,
|
||||
"p2Score": <player 2's score>
|
||||
"myScore": <my score>,
|
||||
"opponentScore": <the opponent's score>
|
||||
}
|
||||
```
|
||||
|
||||
@ -247,6 +247,8 @@ Used to get the match history of an user
|
||||
Can return:
|
||||
- 200 with response (list of matches results (between iStart and iEnd))
|
||||
```json
|
||||
{
|
||||
"matchHistory":
|
||||
[
|
||||
{
|
||||
"score":
|
||||
@ -260,6 +262,7 @@ Can return:
|
||||
},
|
||||
...
|
||||
]
|
||||
}
|
||||
```
|
||||
- 400 with response (if iStart/iEnd does not exist, or iEnd < iStart)
|
||||
```json
|
||||
|
Reference in New Issue
Block a user