User Tools

Site Tools


api2:adaptive:objective_knowledge_node_students

An Objective Knowledge Node Student is a link between an Objective Student and the Knowledge Nodes that have to be mastered for this Objective. It is created automatically when the Objective Student is created.

Object resources

Property Type Description
id Integer identifier for the database of Domoscio's API
threshold Float Between -4 and +4, represents the level of mastery the learner has to reach on that concept for this objective
validated Boolean true if the mastery of the KnowledgeNodeStudent is above the threshold
ability_reached Float Score you expect your user to have to validate the objective
objective_knowledge_node_id Integer identifier of the ObjectiveKnowledgeNode associated
knowledge_node_student_id Integer identifier of the KnowledgeNodeStudent associated
student_id Integer identifier of the Student associated
objective_id Integer identifier of the Objective associated
knowledge_node_id Integer identifier of the KnowledgeNode associated
objective_student_id Integer identifier of the ObjectiveStudent associated
memorize Boolean Does this concept in this objective has to be memorized?
deadline Date Does it have to be memorized for a specific deadline?

Fetch (GET)

Method GET
URL /objective_knowledge_node_students/{objective_knowledge_node_student_id}

If no objective_knowledge_node_student_id is provided it will fetch all the Objective Knowledge Node Student for your instance.
If you do not know the objective_knowledge_node_student_id, you can filter the results by adding one of the following parameters : - objective_id
- student_id or uid
- knowledge_node_id or uid
- objective_student_id
and send the following request:

{
	"student_id": 1980
}
Get the response (JSON output example)

With id provided

   {
        "id": 51592,
        "threshold": -4,
        "created_at": "2019-05-28T15:42:06.123Z",
        "updated_at": "2019-05-28T15:42:19.470Z",
        "objective_knowledge_node_id": 3439,
        "knowledge_node_student_id": 69586,
        "validated": false,
        "student_id": 1980,
        "objective_id": 689,
        "knowledge_node_id": 5035,
        "ability_reached": null,
        "memorize": false,
        "deadline": null,
        "objective_student_id": 3403
    }

Without id provided

[
    {
        "id": 51593,
        "threshold": -0.694329532712679,
        "created_at": "2019-05-28T15:42:06.297Z",
        "updated_at": "2019-05-28T15:42:32.306Z",
        "objective_knowledge_node_id": 3440,
        "knowledge_node_student_id": 69587,
        "validated": false,
        "student_id": 1980,
        "objective_id": 689,
        "knowledge_node_id": 5036,
        "ability_reached": null,
        "memorize": false,
        "deadline": null,
        "objective_student_id": 3403
    },
    {
        "id": 51592,
        "threshold": -4,
        "created_at": "2019-05-28T15:42:06.123Z",
        "updated_at": "2019-05-28T15:42:19.470Z",
        "objective_knowledge_node_id": 3439,
        "knowledge_node_student_id": 69586,
        "validated": false,
        "student_id": 1980,
        "objective_id": 689,
        "knowledge_node_id": 5035,
        "ability_reached": null,
        "memorize": false,
        "deadline": null,
        "objective_student_id": 3403
    },
    {
        "id": 51591,
        "threshold": 0.617527224570437,
        "created_at": "2019-05-28T15:42:06.050Z",
        "updated_at": "2019-05-28T15:42:06.773Z",
        "objective_knowledge_node_id": 3438,
        "knowledge_node_student_id": 69585,
        "validated": false,
        "student_id": 1980,
        "objective_id": 689,
        "knowledge_node_id": 5034,
        "ability_reached": null,
        "memorize": false,
        "deadline": null,
        "objective_student_id": 3403
    }
]
api2/adaptive/objective_knowledge_node_students.txt · Last modified: 2019/06/03 16:15 by maries