Get a Course step and its content: the page of a page step

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://help-api.meltingspot.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "API MCP server": {
    "url": "https://help-api.meltingspot.io/mcp"
  }
}

Close
GET /v1/courses/{courseId}/steps/{stepId}

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

Path parameters

  • courseId string Required

    The id of the course

  • stepId string Required

    The id of the course step

Query parameters

  • format string

    Markdown of the rich text fields of the response. flavored (default) keeps everything with the directives of the flavor, to write the content back without loss. compat is plain CommonMark, without directive nor HTML, to display it.

    Values are flavored or compat.

Responses

  • 200 application/json

    Course step returned successfully

    Hide response attributes Show response attributes object
    • id string Required

      The id of the course step.

    • title string Required

      The title of the course step.

    • duration integer | null Required

      The duration of the course step.

    • contentType string Required

      The type of the course step.

      Values are Page or Quiz.

    • createdAt integer Required

      Timestamp in ms of creation date

    • position integer Required

      The rank of the step in the course, starting at 1: the introduction, then the steps in their order, then the conclusion.

    • page object Required

      The content of a page step. Null for a quiz.

      Hide page attribute Show page attribute object
      • contentMarkdown string Required

        Content of the page, in Markdown (in the format asked by the format query parameter, flavored by default). Markdown flavor: CommonMark with GFM strikethrough, plus these directives. Mention a member: :mention[Name]{id=}; mention everyone: :mention[here]{id=here type=Here}. Variable: :varfirstName. Image with a width, an alignment or a link: ::image{src="" width= align= link=""}; a plain image stays . Embedded video or page: ::embed{url="" align= width=}. Link opened in a new tab: :link[label]{href="" target=_blank}. Always quote a URL in a directive: unquoted, a URL holding "=" (such as ?v=…) is not read as a directive and stays text. Underline: text. Aligned paragraphs: a :::center, :::right or :::justify container closed by :::. Columns (pages only): ::::layout{columns=50-50} holding one :::column container per column, closed by ::::. Keep the directives you read when you write the content back: they carry what plain markdown loses. What a field cannot hold is degraded and reported in warnings: a table, a task list or a footnote becomes text, a heading past level 3 is clamped, any other HTML is removed, and the headings, columns, media, mentions or variables a field does not accept become text. Empty when the page has no content.

    • quiz object Required

      The latest version of a quiz step, with the expected answers. Null for a page.

      Hide quiz attributes Show quiz attributes object
      • descriptionMarkdown string | null Required

        Description of the quiz, in Markdown (in the format asked by the format query parameter, flavored by default). Markdown flavor: CommonMark with GFM strikethrough, plus these directives. Mention a member: :mention[Name]{id=}; mention everyone: :mention[here]{id=here type=Here}. Variable: :varfirstName. Image with a width, an alignment or a link: ::image{src="" width= align= link=""}; a plain image stays . Embedded video or page: ::embed{url="" align= width=}. Link opened in a new tab: :link[label]{href="" target=_blank}. Always quote a URL in a directive: unquoted, a URL holding "=" (such as ?v=…) is not read as a directive and stays text. Underline: text. Aligned paragraphs: a :::center, :::right or :::justify container closed by :::. Columns (pages only): ::::layout{columns=50-50} holding one :::column container per column, closed by ::::. Keep the directives you read when you write the content back: they carry what plain markdown loses. What a field cannot hold is degraded and reported in warnings: a table, a task list or a footnote becomes text, a heading past level 3 is clamped, any other HTML is removed, and the headings, columns, media, mentions or variables a field does not accept become text. Null when it has none.

      • retakeEnabled boolean Required

        Whether the quiz can be retaken.

      • hideAnswersEnabled boolean Required

        Whether the answers are hidden after submission.

      • minimumScoreEnabled boolean Required

        Whether a minimum score is required to pass the quiz.

      • minimumScore integer | null Required

        The minimum score to pass the quiz, in percent. Null when none is required.

      • questions array[object] Required

        The questions of the latest version of the quiz, in their order. Empty for a quiz without question.

        Hide questions attributes Show questions attributes object
        • id string Required

          The id of the question.

        • title string Required

          The title of the question.

        • type string Required

          The type of the question.

          Values are SingleSelect or MultipleSelect.

        • descriptionMarkdown string | null Required

          Description of the question, in Markdown (in the format asked by the format query parameter, flavored by default). Markdown flavor: CommonMark with GFM strikethrough, plus these directives. Mention a member: :mention[Name]{id=}; mention everyone: :mention[here]{id=here type=Here}. Variable: :varfirstName. Image with a width, an alignment or a link: ::image{src="" width= align= link=""}; a plain image stays . Embedded video or page: ::embed{url="" align= width=}. Link opened in a new tab: :link[label]{href="" target=_blank}. Always quote a URL in a directive: unquoted, a URL holding "=" (such as ?v=…) is not read as a directive and stays text. Underline: text. Aligned paragraphs: a :::center, :::right or :::justify container closed by :::. Columns (pages only): ::::layout{columns=50-50} holding one :::column container per column, closed by ::::. Keep the directives you read when you write the content back: they carry what plain markdown loses. What a field cannot hold is degraded and reported in warnings: a table, a task list or a footnote becomes text, a heading past level 3 is clamped, any other HTML is removed, and the headings, columns, media, mentions or variables a field does not accept become text. Null when it has none.

        • feedbackMarkdown string | null Required

          Feedback shown after a wrong answer, in Markdown (in the format asked by the format query parameter, flavored by default). Markdown flavor: CommonMark with GFM strikethrough, plus these directives. Mention a member: :mention[Name]{id=}; mention everyone: :mention[here]{id=here type=Here}. Variable: :varfirstName. Image with a width, an alignment or a link: ::image{src="" width= align= link=""}; a plain image stays . Embedded video or page: ::embed{url="" align= width=}. Link opened in a new tab: :link[label]{href="" target=_blank}. Always quote a URL in a directive: unquoted, a URL holding "=" (such as ?v=…) is not read as a directive and stays text. Underline: text. Aligned paragraphs: a :::center, :::right or :::justify container closed by :::. Columns (pages only): ::::layout{columns=50-50} holding one :::column container per column, closed by ::::. Keep the directives you read when you write the content back: they carry what plain markdown loses. What a field cannot hold is degraded and reported in warnings: a table, a task list or a footnote becomes text, a heading past level 3 is clamped, any other HTML is removed, and the headings, columns, media, mentions or variables a field does not accept become text. Null when it has none.

        • correctFeedbackMarkdown string | null Required

          Feedback shown after a right answer, in Markdown (in the format asked by the format query parameter, flavored by default). Markdown flavor: CommonMark with GFM strikethrough, plus these directives. Mention a member: :mention[Name]{id=}; mention everyone: :mention[here]{id=here type=Here}. Variable: :varfirstName. Image with a width, an alignment or a link: ::image{src="" width= align= link=""}; a plain image stays . Embedded video or page: ::embed{url="" align= width=}. Link opened in a new tab: :link[label]{href="" target=_blank}. Always quote a URL in a directive: unquoted, a URL holding "=" (such as ?v=…) is not read as a directive and stays text. Underline: text. Aligned paragraphs: a :::center, :::right or :::justify container closed by :::. Columns (pages only): ::::layout{columns=50-50} holding one :::column container per column, closed by ::::. Keep the directives you read when you write the content back: they carry what plain markdown loses. What a field cannot hold is degraded and reported in warnings: a table, a task list or a footnote becomes text, a heading past level 3 is clamped, any other HTML is removed, and the headings, columns, media, mentions or variables a field does not accept become text. Null when it has none.

        • possibleAnswers array[object] Required

          The possible answers of the question, in their order.

          Hide possibleAnswers attributes Show possibleAnswers attributes object
          • id string Required

            The id of the possible answer.

          • label string Required

            The label of the possible answer.

          • expected boolean Required

            Whether the possible answer is a right one.

  • 400

    Malformed payload

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Course step not found

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
          }
        ]
      }
    ]
  }
}