Skip to content

Implement endpoint to get scores by user - #1139

Merged
Toastbrot236 merged 5 commits into
LittleBigRefresh:mainfrom
Toastbrot236:score-rank-idk
Oct 4, 2026
Merged

Toastbrot236 merged 5 commits into
LittleBigRefresh:mainfrom
Toastbrot236:score-rank-idk

Conversation

@Toastbrot236

Copy link
Copy Markdown
Contributor

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.

@Toastbrot236 Toastbrot236 added moderation This issue or pull request is related to moderation features API This issue/pull request is related to Refresh's public API labels Sep 28, 2026
@Toastbrot236
Toastbrot236 marked this pull request as ready for review September 28, 2026 12:39
@Toastbrot236

Copy link
Copy Markdown
Contributor Author

I will just move score sorting (and other related stuff) to a separate PR, so now this is done I think.

@Toastbrot236
Toastbrot236 merged commit 25f03e4 into LittleBigRefresh:main Oct 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API This issue/pull request is related to Refresh's public API moderation This issue or pull request is related to moderation features size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List of #1s achieved on profile

2 participants