Skip to main content
POST
/
cabinet
/
contests
/
{round_id}
/
answer
Submit Contest Answer
curl --request POST \
  --url http://localhost:8080/cabinet/contests/{round_id}/answer \
  --header 'Content-Type: application/json' \
  --data '
{
  "round_id": 123,
  "answer": "<string>"
}
'
{
  "is_winner": true,
  "message": "<string>",
  "prize_type": "<string>",
  "prize_value": "<string>"
}

Path Parameters

round_id
integer
required

Body

application/json

Request to submit contest answer.

round_id
integer
required
answer
string
required

Response

Successful Response

Result of contest attempt.

is_winner
boolean
required
message
string
required
prize_type
string | null
prize_value
string | null