From 7333dc2602070379897db20564691d3e3b8b1187 Mon Sep 17 00:00:00 2001 From: Tzvetan Trave Date: Thu, 2 Oct 2025 16:06:51 +0200 Subject: [PATCH] forgot to push the doc --- doc/user/user.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/doc/user/user.md b/doc/user/user.md index 3c18841..7821997 100644 --- a/doc/user/user.md +++ b/doc/user/user.md @@ -95,8 +95,8 @@ Input needed : ```json { "opponent": "", - "p1Score": , - "p2Score": + "myScore": , + "opponentScore": } ``` @@ -247,19 +247,22 @@ Used to get the match history of an user Can return: - 200 with response (list of matches results (between iStart and iEnd)) ```json -[ - { - "score": +{ + "matchHistory": + [ { - "p1": "", - "p2": "", - "p1Score": "", - "p2Score": "" + "score": + { + "p1": "", + "p2": "", + "p1Score": "", + "p2Score": "" + }, + "tx": "" }, - "tx": "" - }, - ... -] + ... + ] +} ``` - 400 with response (if iStart/iEnd does not exist, or iEnd < iStart) ```json