Osu-web: API page not accessible

Created on 31 Mar 2018  路  15Comments  路  Source: ppy/osu-web

When searching for osu API on google and following the usual link https://osu.ppy.sh/p/api we get redirected to the forums

(The page is still accessible at https://old.ppy.sh/p/api tho)

api

All 15 comments

2018-04-01_05-16-17
so my guess is we just have to use old.ppy.sh/p/api until then since the new website doesnt have "new.ppy.sh" anymore and doesnt have an api page yet

Yup, that's what I said ^^ The issue here is that we should be redirected to the old website when visiting the usual URL

If that's not important the issue can remain open but I'd like to at least warn

Where does it redirect you to, out of curiosity? For me the page still loads.

Well now it redirects to the good page, but it used to redirect to the forum. Maybe a recent modification fixed it ? Anyway thanks :)

Nothing has changed.

The issue is still present.

https://youtu.be/_CDWqrVBYh8

the website is accessible, you just have to wait a few seconds/up to a minute after logging in and retry. This behavior doesn't seem correct tho. (I'm stupid, didn't watch the video, sorry)

Definitely annoying having to tell users to retry until it works though.

you need to use the site switcher in the bottom left so you aren't redirected to the new forum, or use old.ppy.sh instead (should probably use the latter for a link if you're instructing people to find their API key)

using old.ppy.sh/p/api just redirects you to the old forum instead of the new one, it doesn't fix the problem of having to reload the page multiple times.

try clearing your cache then. it might be because you logged into the forum while visiting that page

https://kayo.moe/1ebF9gpd.mp4
New browser, everything cleared, old site.
Still not the correct behavior...

I meant after you are already logged in, that does the trick for me

(new browser/nothing cached)
So it works instantly if you login (old.ppy.sh) and then access the api page (old.ppy.sh/p/api).

You get a wrong redirect (to the forum) if you login on the api page (old.ppy.sh/p/api) but after that it works instantly.

If you login on the new site and open the api page (osu.ppy.sh/p/api) it asks you to login a second time, but after that it works instantly.

So I guess clearing the cache makes it work instantly, but the redirects are still wrong... And having to clear the cache is also not a good solution.

http://docs.ppy.sh/ here's the documentation about the api, you can check it if you run into problems

Was this page helpful?
0 / 5 - 0 ratings