Versions Compared

Key

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

...

  • Item set will be a collection of questions where each question will be linked to Item set with hasSequenceMember relationship where each relationship will have one index value.
  • Instead of linking to each questions, Content should be linked to Itemset with associatiedTo relationship.
  • Content will have one-to-one relationship with Item set.
  • Support for Itemset schema version 2 (V2) API

Item Set V2 API:

Create Item set:
POST: itemset/

...

v3/create

{
     "request": {
          "itemset": {
               "code":"",
               "title":"",
               "description":"",
               "language":["English"],
               "max_score":10,
               "type":"materialised",
               "owner":"",
               "difficulty_level":"",
               "purpose": "",
               "sub_purpose":"",
               "depth_of_knowledge": "",
               "used_for":"",
               "copyright":"",
               "createdBy":"",
               "questionsassessmentItem":[{
                       "identifier":<question"assessmentItem_id>
id"
               }]
          }
     }
}


Update Item set:
PATCH: itemset/

...

v3/update/{identifier}

{
     "request": {
          "itemset": {
               "title":"",
               "description":"",
               "language":["English"],
               "max_score":10,
               "type":"materialised",
               "owner":"",
               "difficulty_level":"",
               "purpose": "",
               "sub_purpose":"",
               "depth_of_knowledge": "",
               "used_for":"",
               "copyright":"",
               "createdBy":"",
               "questionsassessmentItem":[{
                       "identifier":<question"assessmentItem_id>
id"
               }]
          }
     }
}


Read Item set:
GET: itemset/

...

v3/read/{identifer}

DELETE: itemset/

...

v3/retire/{identifier}
{}


Item set Publish API:

  • There will be Item set publish API which will publish the Itemset with a particular pkgVersion.
  • It will generated a html template (previewUrl: it is Itemset metadata) which will hold all the questions linked to item set at the time of Item set publish.
  • Currently Item set publish API will be exposed through Content Publish API - When content gets publish Item set will also get published.

...