Skip to main content
PUT
/
assessment-tests
/
{identifier}
/
metadata
Update assessment test metadata only
curl --request PUT \
  --url https://qti.alpha-1edtech.ai/api/assessment-tests/{identifier}/metadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "metadata": {}
}'
{
  "identifier": "<string>",
  "title": "<string>",
  "qtiVersion": "3.0",
  "qti-test-part": [
    {
      "identifier": "<string>",
      "navigationMode": "linear",
      "submissionMode": "individual",
      "qti-assessment-section": [
        {
          "identifier": "<string>",
          "title": "<string>",
          "visible": true,
          "required": true,
          "fixed": false,
          "sequence": 123,
          "qti-assessment-item-ref": [
            {
              "identifier": "<string>",
              "href": "<string>"
            }
          ]
        }
      ]
    }
  ],
  "qti-outcome-declaration": [
    {
      "identifier": "<string>",
      "cardinality": "single",
      "baseType": "identifier",
      "normalMaximum": 123,
      "normalMinimum": 123,
      "defaultValue": {
        "value": "<unknown>"
      }
    }
  ],
  "rawXml": "<string>",
  "content": {
    "qti-assessment-test": {
      "_attributes": {
        "xmlns": "<string>",
        "xmlns:xsi": "<string>",
        "xsi:schemaLocation": "<string>",
        "identifier": "<string>",
        "title": "<string>",
        "tool-name": "<string>",
        "tool-version": "<string>"
      },
      "qti-outcome-declaration": [
        {
          "_attributes": {
            "identifier": "<string>",
            "cardinality": "<string>",
            "base-type": "<string>"
          },
          "qti-default-value": {
            "qti-value": "<unknown>"
          },
          "normal-maximum": 123,
          "normal-minimum": 123
        }
      ],
      "qti-test-part": [
        {
          "_attributes": {
            "identifier": "<string>",
            "navigation-mode": "<string>",
            "submission-mode": "<string>"
          },
          "qti-assessment-section": [
            {
              "_attributes": {
                "identifier": "<string>",
                "title": "<string>",
                "visible": "<string>"
              },
              "qti-assessment-item-ref": [
                {
                  "_attributes": {
                    "identifier": "<string>",
                    "href": "<string>"
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "timeLimit": 123,
  "maxAttempts": 123,
  "toolsEnabled": {},
  "metadata": {},
  "__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 identifier of the assessment test to update

Body

application/json

The assessment test metadata to update

Update only the metadata fields of an assessment test without affecting its structure. This is a lightweight operation for administrative changes to title, description, and other metadata properties

metadata
object

Additional custom metadata for extending entity properties beyond standard specification for QTI entities.

Response

Assessment test metadata updated successfully

Complete assessment test data including all test parts, sections, items, and configuration settings

identifier
string
required

Unique identifier for the entity on the service provider.

title
string
required

Human-readable title of the entity on the service provider.

qtiVersion
string
default:3.0
required

Version of the specification used for this assessment test

qti-test-part
object[]
required
qti-outcome-declaration
object[]
required

Array of outcome variable declarations for storing assessment results and computed values

rawXml
string
required

Raw XML representation of the entity, automatically generated from the JSON or XML sent when creating entities on the service provider. The rawxml field will contain all content sent when creating the entity on the service provider. This field is stable and should be used when working within this QTI API.

content
object
required

Parsed XML content structure for the assessment test. For production use, rawXml is recommended over this parsed structure.

createdAt
string<date-time>
required

ISO 8601 timestamp when the entity was created

updatedAt
string<date-time>
required

ISO 8601 timestamp when the entity was last updated

timeLimit
number

Time limit for the entire assessment test in seconds. When not specified, there is no time limit

maxAttempts
number

Maximum number of attempts allowed for the assessment test. When not specified, unlimited attempts are allowed

toolsEnabled
object

Configuration of assessment tools available to candidates. Each tool is represented as a key-value pair where the key is the tool name and the value indicates if it's enabled

metadata
object

Additional custom metadata for extending entity properties beyond standard specification for QTI entities.

__v
number

MongoDB version key for optimistic concurrency control