Fix /api/bot/online route (move it before /api/bot/*cmd)

deepcrayonfish^2
Benedikt Werner 2021-11-26 15:27:29 +01:00
parent c8701601ab
commit 246b871237
No known key found for this signature in database
GPG Key ID: 1DBFF0F8E9E121EB
1 changed files with 1 additions and 1 deletions

View File

@ -707,10 +707,10 @@ GET /api/user/:name/games controllers.Api.userGames(name: String)
# Bot API
GET /api/bot/game/stream/:id controllers.PlayApi.botGameStream(id: String)
POST /api/bot/game/:id/move/:uci controllers.PlayApi.botMove(id: String, uci: String, offeringDraw: Option[Boolean] ?= None)
GET /api/bot/online controllers.PlayApi.botOnlineApi
POST /api/bot/*cmd controllers.PlayApi.botCommand(cmd: String)
GET /api/bot/*cmd controllers.PlayApi.botCommandGet(cmd: String)
GET /player/bots controllers.PlayApi.botOnline
GET /api/bot/online controllers.PlayApi.botOnlineApi
# Board API
GET /api/board/game/stream/:id controllers.PlayApi.boardGameStream(id: String)