Create an Internal Test
Creates or updates a ComponentResource to act as an internal test lesson in a course. This allows creating tests using internal QTI resources or assessment banks with multiple QTI resources.
The endpoint creates or updates (if they already exist) the following entities:
- A CourseComponent for the course to hold the test lesson
- One or more Resources with type = “qti” for individual tests, or type = “assessment-bank” for test banks
- A ComponentResource acting as the test lesson
Supports two test types:
- Regular QTI test: Creates a single QTI resource
- Assessment Bank: Creates multiple QTI resources and wraps them in an assessment bank
For test-out and placement lessons, this will update existing tests of the same type. For other lesson types (quiz, unit-test, pp-100), it will create new lessons in the course structure.
A ‘Lesson’ in this context is a ComponentResource object which has a Resource object associated with it.
Authorizations
Body
- Option 1
- Option 2
Input for creating an internal QTI test
Response
Success