Version: Next

Objectives

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 method:

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_nodes": [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_nodes": [1],
"tags": ["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 method:

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,​
"deadline": nil,​
"adaptive": true
}
info

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