Get course step completion

GET /v1/courses/{courseId}/participants/{courseParticipantId}/stepCompletions/{stepCompletionId}

Get course step completion

Path parameters

  • courseId string Required

    The id of the course

  • courseParticipantId string Required

    The id of the course participant

  • stepCompletionId string Required

    The id of the course step completion

Responses

  • 200 application/json

    Course step completion returned successfully

    Hide response attributes Show response attributes object
    • id string Required

      The id of the course completion.

    • stepId string Required

      The id of the course step.

    • courseParticipantId string Required

      The id of the course participant.

    • contentType string Required

      The type of the course step.

      Values are Page or Quiz.

    • completedAt integer Required

      Timestamp in ms of completion date

    • quizScore object | null Required

      The details of the quiz score.

      Hide quizScore attributes Show quizScore attributes object | null
      • totalQuestionsCount integer Required

        The number of questions of the quiz.

      • correctAnswersCount integer Required

        The number of correct answers of the quiz.

      • score integer Required

        Score of the quiz (between 0 and 1).

  • 400

    Malformed payload

  • 404

    Course not found

GET /v1/courses/{courseId}/participants/{courseParticipantId}/stepCompletions/{stepCompletionId}
curl \
 --request GET 'https://openapi.meltingspot.io/v1/courses/{courseId}/participants/{courseParticipantId}/stepCompletions/{stepCompletionId}'
Response examples (200)
{
  "id": "string",
  "stepId": "string",
  "courseParticipantId": "string",
  "contentType": "Page",
  "completedAt": 42,
  "quizScore": {
    "totalQuestionsCount": 42,
    "correctAnswersCount": 42,
    "score": 42
  }
}