-
Notifications
You must be signed in to change notification settings - Fork 0
Home
David edited this page Nov 10, 2016
·
1 revision
| Method | URL | Body/Params | Description |
|---|---|---|---|
| GET | / | N/A | returns current matches and queue {matches: ..., queue: .... |
| POST | /checkedinplayers | Players[id, name, level, preference(Doubles, Singles)] | add the player to the matchmaking queue |
| DELETE | /checkedinplayers/:id | id of the player | removes the player from matchmaking |
| PUT | /status/start | array of checked in players | starts the matchmaking timer |
| PUT | /status/stop | N/A | stops the matchmaking timer |