Skip to content

"error": "Ordering by -started is not allowed" #2377

Answered by anoek
pe5ha asked this question in Q&A
Discussion options

You must be logged in to vote

We had to lock down that endpoint a bit as it was being abused by some miscreants.

Will https://online-go.com/api/v1/players512029/games?ordering=-id&ended__isnull=false&page=1&page_size=100

work for you instead of -started ? It should provide the same ordering but it's a bit easier on the database.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pe5ha
Comment options

Answer selected by pe5ha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants