File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,17 @@ Request Payload
55
55
56
56
Response
57
57
```
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
+ }
59
69
```
60
70
61
71
_ 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
66
76
67
77
Response
68
78
```
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
+ ]
70
95
```
71
96
72
97
Optional query params
You can’t perform that action at this time.
0 commit comments