Skip to main content
GET
/
assessment-tests
/
{identifier}
/
questions
Get all assessment items referenced by an assessment test
curl --request GET \
  --url https://qti.alpha-1edtech.ai/api/assessment-tests/{identifier}/questions \
  --header 'Authorization: Bearer <token>'
{
  "assessmentTest": "<string>",
  "title": "<string>",
  "totalQuestions": 123,
  "questions": [
    {
      "reference": {
        "identifier": "<string>",
        "href": "<string>",
        "testPart": "<string>",
        "section": "<string>"
      },
      "question": {
        "identifier": "<string>",
        "title": "<string>",
        "type": "choice",
        "qtiVersion": "3.0",
        "timeDependent": false,
        "adaptive": false,
        "rawXml": "<string>",
        "content": {
          "qti-assessment-item": {
            "_attributes": {
              "xmlns": "<string>",
              "xmlns:xsi": "<string>",
              "xsi:schemaLocation": "<string>",
              "identifier": "<string>",
              "title": "<string>",
              "adaptive": "<string>",
              "time-dependent": "<string>"
            },
            "qti-response-declaration": [
              {
                "_attributes": {
                  "identifier": "<string>",
                  "cardinality": "<string>",
                  "baseType": "<string>"
                },
                "qti-correct-response": {
                  "qti-value": [
                    "<string>"
                  ]
                }
              }
            ],
            "qti-outcome-declaration": [
              {
                "_attributes": {
                  "identifier": "<string>",
                  "cardinality": "<string>",
                  "baseType": "<string>"
                }
              }
            ],
            "qti-assessment-stimulus-ref": [
              {
                "_attributes": {
                  "identifier": "<string>",
                  "href": "<string>",
                  "title": "<string>"
                }
              }
            ],
            "qti-item-body": "<unknown>",
            "qti-response-processing": "<unknown>"
          }
        },
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "responseDeclarations": [
          {
            "identifier": "<string>",
            "cardinality": "single",
            "correctResponse": {
              "value": [
                "<string>"
              ]
            },
            "baseType": "identifier"
          }
        ],
        "outcomeDeclarations": [
          {
            "identifier": "<string>",
            "cardinality": "single",
            "baseType": "identifier"
          }
        ],
        "responseProcessing": {
          "templateType": "match_correct",
          "responseDeclarationIdentifier": "<string>",
          "outcomeIdentifier": "<string>",
          "correctResponseIdentifier": "<string>",
          "incorrectResponseIdentifier": "<string>",
          "inlineFeedback": {
            "outcomeIdentifier": "<string>",
            "variableIdentifier": "<string>"
          }
        },
        "metadata": {
          "subject": "Math",
          "grade": "10",
          "difficulty": "easy",
          "learningObjectiveSet": [
            {
              "source": "CASE",
              "learningObjectiveIds": [
                "id-123",
                "id-456",
                "id-789"
              ]
            }
          ]
        },
        "modalFeedback": [
          {
            "outcomeIdentifier": "<string>",
            "identifier": "<string>",
            "showHide": "show",
            "content": "<string>",
            "title": "<string>"
          }
        ],
        "feedbackInline": [
          {
            "outcomeIdentifier": "<string>",
            "identifier": "<string>",
            "showHide": "show",
            "content": "<string>",
            "class": [
              "<string>"
            ]
          }
        ],
        "feedbackBlock": [
          {
            "outcomeIdentifier": "<string>",
            "identifier": "<string>",
            "showHide": "show",
            "content": "<string>",
            "class": [
              "<string>"
            ]
          }
        ],
        "__v": 123
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

identifier
string
required

The unique identifier of the assessment test

Response

Successfully retrieved all questions

All questions from the assessment test with their complete data and reference context

assessmentTest
string
required

Identifier of the assessment test

title
string
required

Title of the assessment test

totalQuestions
number
required

Total number of questions in the assessment test

questions
object[]
required

Array of questions with their reference information and complete item data