Get a Course step and its content: the page of a page step, or the latest version of a quiz step with its questions and expected answers
GET
/v1/courses/{courseId}/steps/{stepId}
curl \
--request GET 'https://openapi.meltingspot.io/v1/courses/{courseId}/steps/{stepId}'
Response examples (200)
{
"id": "string",
"title": "string",
"duration": 42,
"contentType": "Page",
"createdAt": 42,
"position": 42,
"page": {
"contentMarkdown": "string"
},
"quiz": {
"descriptionMarkdown": "string",
"retakeEnabled": true,
"hideAnswersEnabled": true,
"minimumScoreEnabled": true,
"minimumScore": 42,
"questions": [
{
"id": "string",
"title": "string",
"type": "SingleSelect",
"descriptionMarkdown": "string",
"feedbackMarkdown": "string",
"correctFeedbackMarkdown": "string",
"possibleAnswers": [
{
"id": "string",
"label": "string",
"expected": true
}
]
}
]
}
}