ppy / osu-web

the browser-facing portion of osu!
https://osu.ppy.sh
GNU Affero General Public License v3.0
982 stars 384 forks source link

API v2 Wiki request #4755

Closed EVAST9919 closed 4 years ago

EVAST9919 commented 5 years ago

We need an API v2 request to get raw markdown pages of wiki. (Will be used in osu-side)

kj415j45 commented 5 years ago

I think it is not a good idea since we host it on github. it would be easier to fetch from github side. through https://github.com/ppy/osu-wiki/raw/master/{path/to/lang.md}

EVAST9919 commented 5 years ago

Thanks, works as expected aswell

peppy commented 5 years ago

Keep in mind using github for retrieval may hit rate limits, and we may still want an endpoint to ensure availability even if github is not available to the end-user (consider cases it is blocked by their country or ISP).

notbakaneko commented 4 years ago

are wiki requests going to be made by unauthenticated users?

EVAST9919 commented 4 years ago

@peppy ?

peppy commented 4 years ago

Let's go with yes.