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
}
]
}
Retorna uma submissão de quiz através do 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
}
]
}
ID da submissão de quiz.
The response is of type object
.
Esta página foi útil?