| ... | ... | @@ -3,6 +3,7 @@ |
|
|
|
## New Challenge
|
|
|
|
|
|
|
|
> With this endpoint user can create a new challenge room. After game room has been successfully created, user is granted title `GAMEMASTER` and receives the challenge room joining `challengeRoomCode` and a `JWT TOKEN`. With this token the `GAMEMASTER` can be identified and it prevents other users from disguising as the `GAMEMASTER`.
|
|
|
|
|
|
|
|
| Method | Route | Content type | Authentication |
|
|
|
|
|--------|-------|--------------|----------------|
|
|
|
|
| POST | /challenge/new | `application/json` | No |
|
| ... | ... | |
| ... | ... | |