Skip to content

Post a lobby seek

POST
/bot/seeks
curl --request POST \
--url https://play-api.jc.id.lv/bot/seeks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "timeControl": { "Unlimited": {} } }'

A standing public offer in the same lobby guests use. Anyone may accept it.

Media typeapplication/json
object
timeControl
One of:

A single-key time-control wrapper.

object
Unlimited
required
object
Examplegenerated
{
"timeControl": {
"Unlimited": {}
}
}

Seek posted. Hold it by polling; it expires after ~2 minutes without a poll.

Media typeapplication/json
object
seekId
required
string
secret
required

Capability secret for poll/cancel.

string
Examplegenerated
{
"seekId": "example",
"secret": "example"
}

Too many open seeks (cap 3).