Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User game export API has undocumented max value defaulting to 5000 #16821

Open
Siderite opened this issue Jan 20, 2025 · 0 comments
Open

User game export API has undocumented max value defaulting to 5000 #16821

Siderite opened this issue Jan 20, 2025 · 0 comments
Labels

Comments

@Siderite
Copy link

Siderite commented Jan 20, 2025

Exact URL of where the bug happened

https://lichess.org/@/KamranShirazi/download

Steps to reproduce the bug

  1. Go to the URL above
  2. Export all games without changing anything

What did you expect to happen?

Get all the games of the user

What happened instead?

Got exactly 5000 games.

Operating system

Any

Browser and version (or alternate access method)

Any

Additional information

I think this was introduced in Commit 53eac1d

The problem is not that it returns 5000 games, but that it's completely unexpected. Neither the export page, nor the API documentation mention this. In fact, the API reference (https://lichess.org/api#tag/Games/operation/apiGamesUser) says "Leave empty to download all games".

@Siderite Siderite added the bug label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant