items - Initialization - Assess API

Assess API Initialization

items

Items to be used in the assessment. Each Item represents a single "page" within the assessment screens, each containing Questions and contents within.

Examples

"items": [
    {
        "content": "<span class=\"learnosity-response question-widget1234\"></span>",
        "response_ids": [
            "widget1234"
        ],
        "feature_ids": [
            "feature1234"
        ],
        "workflow": "",
        "reference": "ccore_ccs_rabbit",
        "metadata": {
            "display_name": "CC Card Item"
        }
    },
    {
      //...
    },
    ...
]

Values

Attribute path items

Type array[ItemObject]

Properties

  • ItemObject object

    • content string

      Content should contain a <span> element for each response_id in that Item, as well as any additional description or content.

    • response_ids array[string]

      Response IDs should be provided in the "QuestionApiActivity" to match the responses, Features, and <spans> provided.

      ["widget1234"]
                                      
    • feature_ids array[string]

      Feature IDs should be provided in the "QuestionApiActivity" to match the responses, Features, and <spans> provided.

    • reference string

      Reference should be a unique name to identify each Item.

    • metadata object

      Contains various Item metadata information such as default display name of the Item in the table of contents list.

      {
                                          metadata: { display_name: "CC Card Item" }
                                      }
                                      
    • workflow string

      A workflow can be added to allow for triggered events on certain actions.

this is a mandatory property.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.