ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.32k stars 2.28k forks source link

api v2 query result does not match the expectations #27764

Closed HollisMeynell closed 7 months ago

HollisMeynell commented 7 months ago

Type

Other

Bug description

I'm not sure where to report the issue with the API. If it shouldn't be here, I'll remove it.

description:

The response from the API beatmaps/{beatmap}/scores is incorrect. this score 2558700199 api v2 query response returns 404 Not Found without legacy_only=1 when i get https://osu.ppy.sh/api/v2/beatmaps/4162586/scores/users/33295812&mode=osu

I can only get the correct response when specifying 'legacy_only=1'

The documentation describes it as 'Whether or not to exclude lazer scores. Defaults to 0.' According to the description, it should return any existing scores rather than 'Not Found'.

Screenshots or videos

image

Version

now?

Logs

no logs

Joehuu commented 7 months ago

As mentioned in https://osu.ppy.sh/docs/index.html#introduction, API issues should be in https://github.com/ppy/osu-web/issues.