Last updated 3 days ago
POST /start
To leave the game session , the leaved user will be refunded .
Payload :
{ "roomId": "e6e92345-ae24-4d44-acd2-b2145d21c2aj" }
/api/v1/game-sessions/leave
curl -L \ --request POST \ --url 'http://api.bananaclip.io/api/v1/game-sessions/leave' \ --header 'Content-Type: application/json' \ --data '{ "roomId": "text" }'
{ "id": 1, "roomId": "text", "gameId": 1, "entryToken": { "id": 1, "tokenId": "text", "tokenName": "text", "logoUrl": "text", "metadata": { "ANY_ADDITIONAL_PROPERTY": "text" }, "volume": 1 }, "roomEntry": 1, "totalWager": 1, "creator": { "id": 1, "username": "text", "avatar": { "id": 1, "url": "text" } }, "participants": [ { "id": 1, "username": "text", "avatar": { "id": 1, "url": "text" } } ], "maxPlayers": 1, "isFriendsOnly": true, "status": "CREATED", "createdAt": "text" }