Get a quiz answer

GET /manager/quiz-answer/{id}

Path parameters

  • id integer(int32) Required

    The id of the quiz answer

Responses

GET /manager/quiz-answer/{id}
curl \
 -X GET https://domain.tld/api/v2/manager/quiz-answer/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id_quiz_answer": 42,
  "images": [
    {
      "id_i18n_content": 42,
      "lang": "en_GB",
      "content": "Hello"
    }
  ],
  "texts": [
    {
      "id_i18n_content": 42,
      "lang": "en_GB",
      "content": "Hello"
    }
  ],
  "is_correct": "true",
  "nb_votes": 42
}
Response examples (401)
{
  "message": "Unauthorized."
}