Bold parameters are required
List all existing bingo games
[
{
"id": mongo ObjectId,
"name": String
},
...
]
Create a new bingo game that randomly generates cards.
name (String)
- Title of the bingo game
type (bosses
, items
, combined
)
bosses
: Each square is a boss. Squares can have duplicates, since there aren't enough bosses for a full 25 squares.items
: Each square is an item. Squares will not have duplicates.combined
: Each square is a unique item/boss combination .
free_space (Boolean)
true
if the middle square is to be a free space, otherwisefalse
.
cards_match (Boolean)
true
if all players should play on a matching card.false
if each player should get their own randomly generated card.
Bingo Game
object
Create a new bingo game with custom defined squares. All players will play off of the same matching card.
name (String)
- Title of the bingo game
json body
- JSON body with a list of 25 squares that can include bosses, items, or custom tasks
[
{
"boss": "Boss Name - optional",
"item": "Item Name - optional",
"task": "Custom task description - optional"
},
....
]
Bingo Game
object
Add a card for a user to a bingo game. Card will either be the parent card for the game, or a randomly generated card, depending on the game type.
id (mongo ObjectId
)
username (String)
- Name of the user to add a card for. Each user can only have one card per game.
Bingo Card
object
Marks a square as complete on a game card.
game_id (mongo ObjectId
)
card_id (mongo ObjectId
)
square_id (mongo ObjectId
)
Bingo Card
object
Update notes on a card.
game_id (mongo ObjectId
)
card_id (mongo ObjectId
)
notes (String)
Bingo Card
object
Get the winning cards from a game of bingo (one or more lines finished)
game_id (mongo ObjectId
)
[
{Bingo Card},
...
]
game_id (mongo ObjectId
)
username (String)
Bingo Card
object
game_id (mongo ObjectId
)
username (String)
image/png
{
"id": {mongo ObjectId},
"name": String,
"type": { BOSSES, ITEMS, COMBINED, OTHER },
"freeSpace": Boolean,
"parentCard": [
{Bingo Square},
...
],
"cards": [
{Bingo Card},
...
]
}
{
"id": {mongo ObjectId},
"username": String,
"notes": String,
"squares": [
{Bingo Square},
...
]
}
{
"id": {mongo ObjectId},
"completed": Boolean,
"task": String,
"boss": Boss,
"item": Drop
}
{
"displayName": String,
"file": String
}
{
"item": String,
"file": String
}