Referência de API
Academies
Classrooms
Memberships
Users
Comments
Quizzes
Retorna uma submissão
Retorna uma submissão de quiz através do ID.
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
Path Parameters
ID da submissão de quiz.
Response
200 - application/json
The response is of type object
.
Was this page helpful?
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
}
]
}