forgot to push the doc

This commit is contained in:
Tzvetan Trave committed 2025-10-02 16:06:51 +02:00
1 parent 439e5a0acf
commit 7333dc2602
1 file changed
+7 -4
+7 -4
View File
@@ -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,7 +247,9 @@ 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":
{ {
@@ -259,7 +261,8 @@ Can return:
"tx": "<the transcaction hash>" "tx": "<the transcaction hash>"
}, },
... ...
] ]
}
``` ```
- 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