Version: Next

Objectives & Subscriptions

Create Objectives

An objective is the set of skills a learner should be mastering, those skills are to be mentioned in the objects parameters. To create an objective, you can use the following route:

Method : POST​
URL : HOST_URL/instances/{instance_id}/objectives​

Here is a json input example:

{
"name": "Learning the Universe",
"uid": "your_objective_uid",
"objects": {
"knowledge_node_ids": [1]
},
}

To specify a pool of contents

You can specify a specific pool of tagged contents by adding the desired tag to the objects parameter as shown bellow :

{
"name": "Learning the Universe",
"objects": {
"knowledge_node_ids": [1],
"tag_filters": {
"contents": {
"adaptive": {
"tag_uid": {
"include": ["tag1"]
}
}
}
}
},
"uid": "your_objective_uid",
}
info

A more detailed documentation on how to setup Objectives can be found here - Link

Link Learners to Objectives

Once the objective is created, you can link it to the learner using an ObjectiveStudent on which the adaptive option should be set to true. The object can be created using the following route:

Method : POST​
URL : HOST_URL/instances/{instance_id}/objective_students

Here is an example of json input:

{
"student_id": 1,
"objective_id": 1,
"memorize": false,
"adaptive": true
}
info

A more detailed documentation on how to setup Objective Students can be found here - Link