[API] Broken API since August 30th

Hello,

It seems that since August 30th this API endpoint is broken with the following parameters:

GET https://online-go.com/api/v1/players/{playerId}/games?ordering=started
{
    "error": "Ordering by started is not allowed"
}
GET https://online-go.com/api/v1/players/702307/games?page=last
500 INTERNAL SERVER ERROR

Is the ordering now forbidden or just updated to something else?
Is the param page=last not available anymore?

I like using both page=last and ordering=started in conjunction to get the latest games first in the response.

Hello, I had to lock down that endpoint a bit as there was someone was attacking the site with it.

Does order by -ended provide you with what you are after? If not I’ll look at adding back in -started

2 Likes

Hello, it works yeah, thank you very much.