|-
/courses/{id}/cmi5e
Veldspecificaties
34 items| Veld | Beschrijving | Type | Verplicht | Beperkingen |
|---|---|---|---|---|
request.query.id |
id
|
Tekenreeks | Ja | - |
response.200 |
response 200
|
Object | Nee | - |
response.200.course |
course
|
Object | Ja | CMI5.Course |
response.200.course.id |
id
the unique identifier of this version of the course |
Tekenreeks | Ja | - |
response.200.course.title |
title
|
Object | Ja | CMI5.TextType |
response.200.course.title.lang |
lang
|
Tekenreeks | Nee | - |
response.200.course.title.langstring |
langstring
|
Tekenreeks | Nee | - |
response.200.course.title.langstring |
langstring
|
Tekenreeks | Nee | - |
response.200.course.description |
description
|
Object | Ja | CMI5.TextType |
response.200.course.description.lang |
lang
|
Tekenreeks | Nee | - |
response.200.course.description.langstring |
langstring
|
Tekenreeks | Nee | - |
response.200.course.description.langstring |
langstring
|
Tekenreeks | Nee | - |
response.200.course.image |
image
Additional field: URI to the image to represent this course |
Tekenreeks | Nee | - |
response.200.course.publicationdate |
publicationdate
Additional field: Date of the publication of this version of the course. Format: YYYY-MM-DD (according to RFC3339). |
Tekenreeks | Nee | - |
response.200.course.publisher |
publisher
Additional field: name of the publisher of this course |
Tekenreeks | Nee | - |
response.200.course.streamcode |
streamcode
Additional: the course identifier (like steppingstone-5e-4vwo) |
Tekenreeks | Nee | - |
response.200.course.version |
version
Additional field to specify a version of this course (like |
Tekenreeks | Nee | - |
response.200.course.streams |
streams
|- |
Lijst[] | Nee | - |
response.200.course.streams[*] |
streams
|- |
Object | Nee | - |
response.200.objectives |
objectives
All (learning) objectives from this Course are defined at the highest level in this array. Within Assignable Units a reference can be made to the identifiers of these objectives. |
Lijst[] | Nee | - |
response.200.objectives[*] |
objectives
All (learning) objectives from this Course are defined at the highest level in this array. Within Assignable Units a reference can be made to the identifiers of these objectives. |
Object | Nee | - |
response.200.aus |
aus
If the course has no structure in Blocks then this list contains all the assignable units from the Course. |
Lijst[] | Nee | - |
response.200.aus[*] |
aus
If the course has no structure in Blocks then this list contains all the assignable units from the Course. |
Object | Nee | - |
response.200.blocks |
blocks
A Course consists of Blocks with underlying Blocks and/or Assignable Units. E.g. Blocks can be used to define chapters and paragraphs. |
Lijst[] | Nee | - |
response.200.blocks[*] |
blocks
A Course consists of Blocks with underlying Blocks and/or Assignable Units. E.g. Blocks can be used to define chapters and paragraphs. |
Object | Nee | - |
response.400 |
response 400
Functional status code and status message. |
Object | Nee | - |
response.400.status |
status
See functional status codes within the Documentation. |
Geheel getal | Ja | - |
response.400.statusMessage |
statusMessage
See functional status messages within the Documentation. |
Tekenreeks | Nee | - |
response.401 |
response 401
Functional status code and status message. |
Object | Nee | - |
response.401.status |
status
See functional status codes within the Documentation. |
Geheel getal | Ja | - |
response.401.statusMessage |
statusMessage
See functional status messages within the Documentation. |
Tekenreeks | Nee | - |
response.404 |
response 404
Functional status code and status message. |
Object | Nee | - |
response.404.status |
status
See functional status codes within the Documentation. |
Geheel getal | Ja | - |
response.404.statusMessage |
statusMessage
See functional status messages within the Documentation. |
Tekenreeks | Nee | - |
Verwachte statuscodes
4 items| Code | Betekenis | Uitkomst |
|---|---|---|
200 |
Succes | |
400 |
Bad Request | Fout |
401 |
Unauthorized | Fout |
404 |
Not Found | Fout |
Bronspecificatie (YAML)
Ruwe definitie uit het afsprakenstelsel.
/courses/{id}/cmi5e:
parameters:
- schema:
type: string
name: id
in: path
required: true
get:
summary: Get CourseStructure by ID in CMI5e Format
x-tags:
- CourseStructure
tags:
- Leermaterialencatalogus
responses:
'200':
description: OK
content:
application/xml:
schema:
$ref: '#/components/schemas/CMI5.CourseStructure'
examples:
example-1:
value:
course:
title:
- lang: string
langstring: string
description:
- lang: string
langstring: string
image: string
publicationdate: string
publisher: string
streamcode: string
version: string
streams:
- id: string
description: string
objectives:
- id: string
title: string
description: string
aus:
- id: string
activityType: string
moveOn: string
launchMethod: string
title:
- lang: string
langstring: string
objectives:
- string
url: string
launchParameters: string
image: string
streamref: string
blocks:
- id: string
title:
- lang: string
langstring: string
description:
- lang: string
langstring: string
blocks:
- {}
aus:
- id: string
activityType: string
moveOn: string
launchMethod: string
title:
- lang: string
langstring: string
objectives:
- string
url: string
launchParameters: string
image: string
streamref: string
instructions:
- lang: string
langstring: string
image: string
studyloadindicator: 0
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
operationId: get-coursestructure-by-id
security:
- OAuth2:
- eduv.course
description: |
The CourseStructure contains information about the course, including which chapters, paragraphs and assignable units are available, including deeplinks to the publishers playing environment so the student start that unit.
The format of the response is based on the international [xAPI CMI5 CourseDefinition standard](https://github.com/AICC/CMI-5_Spec_Current/blob/quartz/v1/CourseStructure.xsd) and the [Sanoma extension](http://www.sanoma.com/cmi5/ExtendedCourseStructureExtension.xsd). This format is XML based. The response is a full CMI5 Extended Course XML (CMI5e).
If we decide to make a JSON version then this definition would do fine, as it contains the same fields/information. This cannot be fully defined in openAPI/JSON in the same format as the xml version, but this is a close mapping for reference. See remarks at the CMI5.CourseStructure schema.
The CMI5 standard also provides a protocol to launch assignable units in a browser and get progress on these assignable units. This is not part of the specification. The format is used to exchange meta information, not to enforce runtime. For the moment it is expected that the url's in the content work without a need to setup sessions etc. Each publisher is responsible for creating url's in such a way that single sign-on is enforced. See Documentation for guidelines for formatting of deeplinks.