Repository navigation
Implement endpoint to get scores by user - #1139
Merged
Merged
Conversation
Toastbrot236
marked this pull request as ready for review
September 28, 2026 12:39
Contributor
Author
|
I will just move score sorting (and other related stuff) to a separate PR, so now this is done I think. |
FeTetra
approved these changes
Oct 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements an APIv3 endpoint which returns level scores by a user, together with a rank. This PR is missing the ability to filter by rank yet (and might need some improvement with sorting), otherwise it closes #45.
Some testing outside of unit tests has shown that we also need to optimize level score list requests for API, but that can probably be quickly done in a separate PR before next release. Also, this has the moderation label because it might hopefully make it easier to determine whether a given user is cheating scores or actually legit.