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