Using the REST API for games

Looking at the (admittedly outdated) docs for the REST api, there are endpoints for things such as making a move, passing, resigning, etc. However, I am having a hard time making them work and cannot simply observe my network traffic while using the web interface since it uses the RT API instead.

The RT API doesn’t really fit my application as it is very much not real-time. As such, as I was hoping that someone knew the expected request bodies to the gameplay-related REST endpoints, and would greatly appreciate if anyone could provide working example requests

I’m not positive the REST API is still fully functional - I think those docs may be rather out of date. Since the site in general uses websocket transport now, I wouldn’t be surprised if the maintenance of alternative connection types was discontinued.

1 Like