GET
/
api
/
v1
/
quiz_attempts
/
{id}
curl --request GET \
  --url https://memberkit.com.br/api/v1/quiz_attempts/{id}
{
  "id": 123,
  "answered_questions_count": 123,
  "correct_answers_count": 123,
  "quiz": {
    "id": 123,
    "title": "<string>",
    "description": "<string>"
  },
  "user": {
    "id": 123,
    "full_name": "<string>",
    "email": "jsmith@example.com",
    "profile_image_url": "<string>",
    "sign_in_count": 123,
    "current_sign_in_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "started_at": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "question_responses": [
    {
      "id": 123,
      "question": {
        "id": 123,
        "body": "<string>"
      },
      "answer": {
        "id": 123,
        "body": "<string>"
      },
      "is_correct": true
    }
  ]
}

Authorizations

api_key
string
query
required

Path Parameters

id
integer
required

ID da submissão de quiz.

Response

200 - application/json
id
integer
required
answered_questions_count
integer
required
correct_answers_count
integer
required
quiz
object
required
user
object
required
started_at
string
required
Minimum length: 1
created_at
string
required
Minimum length: 1
updated_at
string
required
Minimum length: 1
question_responses
object[]
required