Pick next game
/api/calendar/events/{id}/next-gamePicks the next world from the event's world list: the first not played this round whose players fit the people in the event's instance now, ignoring players when that count is unknown. With instead, that world is put back and the one after it is picked. noneFits says nothing fitted; nothing is recorded then. Never opens an instance.
Needs the ManageCalendar permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/calendar/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/next-game"{ "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c", "eventTitle": "string", "listId": "9fc6ad7d-902a-4834-b161-a4911b883d44", "listName": "string", "instanceId": null, "people": null, "peopleUnsure": true, "game": null, "noneFits": true, "canPick": true}Get next game GET
During an open event that picks from a world list: the world picked last as the next game, and how many people are in the event's instance now. Needs the `ViewCalendar` permission.
Get next game for an instance GET
Next game for the open event that picks from a world list and that this instance belongs to: the instance Modbot opened for the event's date, or a group instance opened during it in a world picked for it. No content when it belongs to none. Needs the `ViewCalendar` permission.