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
|
```json
|
||||||
{
|
{
|
||||||
"opponent": "<the opponent's username>",
|
"opponent": "<the opponent's username>",
|
||||||
"p1Score": <player 1's score>,
|
"myScore": <my score>,
|
||||||
"p2Score": <player 2's score>
|
"opponentScore": <the opponent's score>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -247,6 +247,8 @@ Used to get the match history of an user
|
|||||||
Can return:
|
Can return:
|
||||||
- 200 with response (list of matches results (between iStart and iEnd))
|
- 200 with response (list of matches results (between iStart and iEnd))
|
||||||
```json
|
```json
|
||||||
|
{
|
||||||
|
"matchHistory":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"score":
|
"score":
|
||||||
@ -260,6 +262,7 @@ Can return:
|
|||||||
},
|
},
|
||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
}
|
||||||
```
|
```
|
||||||
- 400 with response (if iStart/iEnd does not exist, or iEnd < iStart)
|
- 400 with response (if iStart/iEnd does not exist, or iEnd < iStart)
|
||||||
```json
|
```json
|
||||||
|
Reference in New Issue
Block a user