Duel
Initiates a duel between two users
Required role: USER
post/duel/
Request
- Base URL: https://adonix.hackillinois.org
- URL: https://adonix.hackillinois.org/duel/
- Auth: none declared
Request body
Example request
{
"hostId": "google12345",
"guestId": "google67890"
}Response
The created duel
Example response
{
"hostId": "google12345",
"guestId": "google67890",
"hostScore": 6,
"guestScore": 7,
"hostHasDisconnected": false,
"guestHasDisconnected": false,
"hasFinished": false,
"isScoringDuel": true,
"pendingUpdates": {
"host": [],
"guest": []
}
}Changes
No recorded changes to this operation across all 1 revision of this API.