Pular para o conteúdo principal

Fill the remaining seats with bots

POST 

/battles/:id/bot-seats

Fills every remaining empty seat, so the bots become READY — which is normally what starts the battle.

Each bot needs a session. Supply it as bots[].game_url when your backend mints one per seat: that is what a real-money battle needs, because the session this service mints for a bot is always a DEMO one. A seat you send no URL for is minted for here, under this casino's own provider credentials — unless the casino has demoMintEnabled turned off, in which case the request is rejected rather than the seat quietly downgraded.

The body is optional. Omit it to auto-name every bot and mint every session; supply bots to name them, in which case you must supply at least as many entries as there are empty seats or the request is rejected.

Only the creator may call bots. This route also re-checks the game allowlist: a game revoked while the lobby was open stops the battle here.

Scope: bots:write — deliberately not battles:write.

Request

Responses

Seats filled