Skip to content

List my live games

GET
/bot/games
curl --request GET \
--url https://play-api.jc.id.lv/bot/games \
--header 'Authorization: Bearer <token>'

Every live game the caller is seated in — the polling counterpart of GameStart and the post-restart recovery path.

Live games.

Media typeapplication/json
object
games
required
Array<object>
object
gameId
required
string
seat
required
string
Allowed values: White Black
activeSeat
required
string
Allowed values: White Black
dicePending
required
boolean
timeControl
required
One of:

A single-key time-control wrapper.

object
Unlimited
required
object
clocks

Remaining milliseconds per side as of the carrying event; null on Unlimited games.

object
white
integer
black
integer
version
required
integer
Example
{
"games": [
{
"seat": "White",
"activeSeat": "White"
}
]
}