The booth/add endpoint enables you to add a user to the waitlist.
Note: You need to have sufficient permissions in the room to access this resource.
booth/add
POST
id: ID of the user you want to add
{
"id": -1
}
Insufficient permissions
{
"data": [
"You are not authorized to access this resource."
],
"status": "notAuthorized",
}
User isn't in the room
{
"data": [],
"status": "roomMismatch",
}
Waitlist is full
{
"data": [],
"status": "boothFull",
}
User doesn't have a playlist
{
"data": [],
"status": "noValidPlaylist",
}
id is missing
{
"data": [
"id is required"
],
"status": "requestError",
}
{
'data': [],
'meta': {},
'status': 'ok',
'time': 'xx.xxxxxxxxxxx'
}