Puzzle

Submits an answer to a specific question

Required role: USER

post/puzzle/submit/{qid}/

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/puzzle/submit/{qid}/
  • Auth: none declared

Path parameters

qidstring required
Example:1

Request body

answerstring required

Example request

{
  "answer": "tacocat"
}

Response

The new 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.