Select a definition
API V1 Docs
API V1
v1
OAS 3.0
https://chess-wpj4.onrender.com/api-docs/v1/swagger.json
Servers
https://{defaultHost}
Computed URL:
https://www.example.com
Server variables
defaultHost
default
GET
/api
/games
/{id}
/board
Show board by game id
POST
/api
/boards
Creates a board from pgn text
GET
/api
/games
List all completed games, or games matching search params
POST
/api
/games
Creates a game with given player names
GET
/api
/games
/{id}
Show game by id
PATCH
/api
/games
/{id}
Play a move on the game or update a game to be over
GET
/api
/quote
Show a random chess quote
POST
/api
/live_games
Creates a live game
GET
/api
/live_games
Show live game by id, access_code, token, and color
PATCH
/api
/live_games
Update a live game with name and team
GET
/status
status test
GET
/status_interface
status_interface test