Skip to content

Commit c2c8e18

Browse files
committed
Update documentation to include the new page query param.
1 parent f45a528 commit c2c8e18

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

doc/specs/tags/users/api-player-top-nb-perfType.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ get:
3939
- racingKings
4040
- threeCheck
4141
required: true
42+
- in: query
43+
name: page
44+
description: Leaderboard page number
45+
schema:
46+
type: integer
47+
minimum: 1
48+
maximum: 20
49+
default: 1
50+
example: 1
51+
required: false
4252
responses:
4353
"200":
4454
description: The list of top players for the variant.

scripts/update-examples/users.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ example(
2626
nb: 3,
2727
perfType: "blitz",
2828
},
29+
query: {
30+
page: 1,
31+
},
2932
},
3033
}),
3134
);

0 commit comments

Comments
 (0)