Puzzle

Create the currently authenticated user's puzzle

Required role: USER

post/puzzle/create/

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/puzzle/create/
  • Auth: none declared

Request body

teamNamestring required

Example request

{
  "teamName": "team team"
}

Response

The newly created puzzle status

userIdstring required

Id of a specific user. Can start with github or google.

teamNamestring required
lastCorrectnumber required
scorenumber required
problemCompleteboolean[] required

Example response

{
  "userId": "github1234",
  "teamName": "team team",
  "lastCorrect": 123,
  "score": 3,
  "problemComplete": [
    true,
    true,
    false
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.