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

Player is missing from /player/uuid/{name} endpoint. #19

Open
kaibarzen opened this issue Dec 31, 2023 · 0 comments
Open

Player is missing from /player/uuid/{name} endpoint. #19

kaibarzen opened this issue Dec 31, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@kaibarzen
Copy link
Contributor

kaibarzen commented Dec 31, 2023

Some players are missing from the /player/uuid/{name} endpoint due a recent name change. The leaderboards and clan pages still contain the old player name resulting in a 404 player page.

Example
Clan https://preview.d1xm3l8n15qyry.amplifyapp.com/clan/Knock
Player 'senpaiistravee'
Player page https://preview.d1xm3l8n15qyry.amplifyapp.com/player/senpaiistravee

There are multiple ways to circumvent this.

  • player/uuid/{name} The UUID endpoint still resolved the player name, even though it is outdated.
  • Provide an reverse /player/namehistory/{uuid} endpoint so the frontend can query name history by player name
@kaibarzen kaibarzen added the bug Something isn't working label Dec 31, 2023
@kaibarzen kaibarzen added this to the 1.0 milestone Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants