Skip to content

Commit 3e440ab

Browse files
authored
Update README.md
1 parent 2127519 commit 3e440ab

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,17 @@ Request Payload
5555

5656
Response
5757
```
58-
TODO
58+
{
59+
"score": {
60+
"game": "easy-leaderboard-example",
61+
"name": "Player Name",
62+
"score": 12,
63+
"metaData": "{test: \"test\"}",
64+
"date": "2022-09-10T00:25:41.068Z"
65+
},
66+
"scoresGreater": 20,
67+
"scoresLesser": 5
68+
}
5969
```
6070

6171
_NOTE: Using a game key that ends with `-basic-validation` will cause that game to automatically use the basic hash check for payload tampering._
@@ -66,7 +76,22 @@ _NOTE: Using a game key that ends with `-basic-validation` will cause that game
6676

6777
Response
6878
```
69-
TODO
79+
[
80+
{
81+
"game": "easy-leaderboard-example",
82+
"name": "Garrett",
83+
"score": 1003,
84+
"metaData": "{\"metaData\":\"yo\"}",
85+
"date": "2022-09-02T01:42:53.376Z"
86+
},
87+
{
88+
"game": "easy-leaderboard-example",
89+
"name": "Garrett",
90+
"score": 123,
91+
"metaData": "{\"metaData\":\"yo\"}",
92+
"date": "2022-09-02T01:31:41.070Z"
93+
}
94+
]
7095
```
7196

7297
Optional query params

0 commit comments

Comments
 (0)