Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • there is no change in spec from v1 to v2 api.

  • for instructions metadata, editor need to send specific language code in the data.

    • if language code is not supplied, default language code will be injected at platform level.

QuestionSet Read API :

  • there is no change in spec from v1 to v2 api.

QuestionSet Read Hierarchy API:

...

& Hierarchy Read API:

  • For older data, language code will be stamped and data transformation will be done before returning the response for below fields:

    • instructions, hints & feedback

    • data sample:

    • Code Block
      "instructions": {
          "language_code": "<div>...</div>"
        },
        "hints": {
          "hint_1": {
            "language_code": "<div>...</div>"
          },
          "hint_2": {
            "language_code": "<div>...</div>"
          }
        },
        "feedback": {
          "feedback_1": {
            "language_code": "<div>...</div>"
          },
          "feedback_2": {
            "language_code": "<div>...</div>"
          }
        }

QuestionSet Update Hierarchy API:
Sample Input Request with single language attributes:

...