ppy/osu-api

/get_user?u=username_old acts the same as /get_user?u=username

Closed this issue ยท 6 comments

tybug commented

https://osu.ppy.sh/api/get_user?k=KEY&u=legendre_old and https://osu.ppy.sh/api/get_user?k=KEY&u=legendre both redirect to https://osu.ppy.sh/users/9868921 (legendre), even though a user by the name of legendre_old exists - https://osu.ppy.sh/users/709891. Querying for legendre_old should give legendre_old's profile.

Interestingly, https://osu.ppy.sh/api/get_user?k=KEY&u=legendre_ (adding an underscore) gives the profile of legendre_old.

peppy commented

Fixed.

This still seems to be an issue, https://osu.ppy.sh/api/get_user?k=KEY&u=JakisRandom_old still redirects to Jakisrandom instead of JakisRandom_old

peppy commented

This is actually intended โ€“ we don't index _old users or expose them in any way. The idea is they will contact us if they want to seriously play again and we'll fix their usernames.

tybug commented

That's disappointing if it means that these users are intended to be inaccessible via the api. They are already accessible with a direct link (https://osu.ppy.sh/users/JakisRandom_old), so I don't see the point in excluding them from the api.

peppy commented

We will consider removing the direct links and placing their accounts in a more archived state. Thanks for the feedback!

tybug commented

A larger distinction between normal and *_old accounts would be appreciated โ€” I didn't realize you considered them to be in a different category of users.