> ## Documentation Index
> Fetch the complete documentation index at: https://ajuda.memberkit.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Retorna uma submissão

> Retorna uma submissão de quiz através do ID.



## OpenAPI

````yaml GET /api/v1/quiz_attempts/{id}
openapi: 3.1.0
info:
  title: MemberKit
  description: ''
  version: 1.0.0
servers: []
security:
  - apikey-query-api_key: []
tags:
  - name: academies
  - name: courses
  - name: lessons
  - name: memberships
  - name: classrooms
  - name: rankings
  - name: users
  - name: scores
  - name: quizzes
  - name: hooks
  - name: comments
paths:
  /api/v1/quiz_attempts/{id}:
    get:
      tags:
        - quizzes
      summary: Retorna uma submissão
      description: Retorna uma submissão de quiz através do ID.
      parameters:
        - name: id
          in: path
          description: ID da submissão de quiz.
          required: true
          example: 0
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuizAttemptDetails'
          headers: {}
      deprecated: false
      security:
        - apikey-query-api_key: []
components:
  schemas:
    QuizAttemptDetails:
      type: object
      properties:
        id:
          type: integer
        answered_questions_count:
          type: integer
        correct_answers_count:
          type: integer
        quiz:
          type: object
          properties:
            id:
              type: integer
            title:
              type: string
              minLength: 1
            description:
              type: string
          required:
            - id
            - title
            - description
        user:
          anyOf:
            - $ref: '#/components/schemas/User'
            - type: 'null'
        started_at:
          type: string
          minLength: 1
        created_at:
          type: string
          minLength: 1
        updated_at:
          type: string
          minLength: 1
        question_responses:
          type: array
          uniqueItems: true
          minItems: 1
          items:
            required:
              - id
              - is_correct
            properties:
              id:
                type: integer
              question:
                type: object
                properties:
                  id:
                    type: integer
                  body:
                    type: string
                    minLength: 1
                required:
                  - id
                  - body
              answer:
                type: object
                properties:
                  id:
                    type: integer
                  body:
                    type: string
                    minLength: 1
                required:
                  - id
                  - body
              is_correct:
                type: boolean
            type: object
      required:
        - id
        - answered_questions_count
        - correct_answers_count
        - quiz
        - user
        - started_at
        - created_at
        - updated_at
        - question_responses
    User:
      type: object
      properties:
        id:
          type: integer
        full_name:
          type: string
        email:
          type: string
          format: email
        profile_image_url:
          type:
            - string
            - 'null'
        sign_in_count:
          type: integer
        current_sign_in_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - full_name
        - email
        - profile_image_url
        - sign_in_count
        - current_sign_in_at
        - created_at
        - updated_at
  securitySchemes:
    apikey-query-api_key:
      type: apiKey
      in: query
      name: api_key

````