====== Differences ====== This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
api2:adaptive:objective_knowledge_node_students [2019/06/03 09:37] maries created |
api2:adaptive:objective_knowledge_node_students [2019/06/03 16:15] (current) maries |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ^ Property ^ Type ^ Description ^ | ^ Property ^ Type ^ Description ^ | ||
| | id | Integer | identifier for the database of Domoscio's API | | | id | Integer | identifier for the database of Domoscio's API | | ||
| - | | threshold | Boolean | Did the student went through the objective successfully? | | + | | threshold | Float | Between -4 and +4, represents the level of mastery the learner has to reach on that concept for this objective | |
| - | | validated | Integer | 1 if it has to be memorized, 0 otherwise | | + | | 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 | | | ability_reached | Float | Score you expect your user to have to validate the objective | | ||
| - | | objective_knowledge_node_id| Integer | Objective assigned | | + | | objective_knowledge_node_id| Integer | identifier of the ObjectiveKnowledgeNode associated | |
| - | | knowledge_node_student_id | Integer | Student who is assigned an objective | | + | | knowledge_node_student_id | Integer | identifier of the KnowledgeNodeStudent associated | |
| - | | student_id | Integer | 1 if it has to be learned, 0 otherwise | | + | | student_id | Integer | identifier of the Student associated | |
| - | | objective_id | DateTime | Date of creation of the object | | + | | objective_id | Integer | identifier of the Objective associated | |
| - | | knowledge_node_id | DateTime | Last time the object has been modified | | + | | knowledge_node_id | Integer | identifier of the KnowledgeNode associated | |
| - | | objective_student_id | String | Indicates the strategy used to choose the best knowledge_node | | + | | objective_student_id | Integer | identifier of the ObjectiveStudent associated | |
| - | | memorize | Float | Percentage of question you expect your user to answer correctly to validate the objective | | + | | memorize | Boolean | Does this concept in this objective has to be memorized? | |
| - | | deadline | Timestamp | Does it have to be memorized for a specific deadline? | | + | | deadline | Date | Does it have to be memorized for a specific deadline? | |
| Line 24: | Line 24: | ||
| If no objective_knowledge_node_student_id is provided it will fetch all the Objective Knowledge Node Student for your instance.\\ | 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_student_id, you can filter the results by adding one of the following parameters : | + | 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 | + | - objective_id \\ |
| - | * student_id | + | - student_id or uid \\ |
| + | - knowledge_node_id or uid \\ | ||
| + | - objective_student_id \\ | ||
| and send the following request: | and send the following request: | ||
| <code> | <code> | ||
| { | { | ||
| - | "student_id": 379 | + | "student_id": 1980 |
| } | } | ||
| </code> | </code> | ||
| Line 41: | Line 42: | ||
| **With id provided** | **With id provided** | ||
| <code> | <code> | ||
| - | { | + | { |
| - | "id": 293, | + | "id": 51592, |
| - | "reached": false, | + | "threshold": -4, |
| - | "created_at": "2017-11-27T17:10:26.984Z", | + | "created_at": "2019-05-28T15:42:06.123Z", |
| - | "updated_at": "2017-11-27T17:10:26.984Z", | + | "updated_at": "2019-05-28T15:42:19.470Z", |
| - | "objective_id": 319, | + | "objective_knowledge_node_id": 3439, |
| - | "student_id": 379, | + | "knowledge_node_student_id": 69586, |
| - | "instance_id": 45, | + | "validated": false, |
| - | "memorize": true, | + | "student_id": 1980, |
| - | "deadline": "2019-06-25", | + | "objective_id": 689, |
| - | "adaptive": true, | + | "knowledge_node_id": 5035, |
| - | "required_score": 0.8, | + | "ability_reached": null, |
| - | "mastery_percentage": null, | + | "memorize": false, |
| - | "knowledge_node_strategy": null, | + | "deadline": null, |
| - | "content_strategy": null | + | "objective_student_id": 3403 |
| - | } | + | } |
| </code> | </code> | ||
| Line 64: | Line 65: | ||
| [ | [ | ||
| { | { | ||
| - | "id": 293, | + | "id": 51593, |
| - | "reached": false, | + | "threshold": -0.694329532712679, |
| - | "created_at": "2017-11-27T17:10:26.984Z", | + | "created_at": "2019-05-28T15:42:06.297Z", |
| - | "updated_at": "2017-11-27T17:10:26.984Z", | + | "updated_at": "2019-05-28T15:42:32.306Z", |
| - | "objective_id": 319, | + | "objective_knowledge_node_id": 3440, |
| - | "student_id": 379, | + | "knowledge_node_student_id": 69587, |
| - | "instance_id": 45, | + | "validated": false, |
| - | "memorize": true, | + | "student_id": 1980, |
| - | "deadline": "2019-06-25", | + | "objective_id": 689, |
| - | "adaptive": true, | + | "knowledge_node_id": 5036, |
| - | "required_score": 0.8, | + | "ability_reached": null, |
| - | "mastery_percentage": null, | + | "memorize": false, |
| - | "knowledge_node_strategy": null, | + | "deadline": null, |
| - | "content_strategy": 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": 294, | + | "id": 51591, |
| - | "reached": false, | + | "threshold": 0.617527224570437, |
| - | "created_at": "2017-11-27T17:11:07.286Z", | + | "created_at": "2019-05-28T15:42:06.050Z", |
| - | "updated_at": "2017-11-27T17:11:07.286Z", | + | "updated_at": "2019-05-28T15:42:06.773Z", |
| - | "objective_id": 318, | + | "objective_knowledge_node_id": 3438, |
| - | "student_id": 379, | + | "knowledge_node_student_id": 69585, |
| - | "instance_id": 45, | + | "validated": false, |
| - | "memorize": true, | + | "student_id": 1980, |
| - | "deadline": "2019-06-25", | + | "objective_id": 689, |
| - | "adaptive": true, | + | "knowledge_node_id": 5034, |
| - | "required_score": null, | + | "ability_reached": null, |
| - | "mastery_percentage": 0.6, | + | "memorize": false, |
| - | "knowledge_node_strategy": null, | + | "deadline": null, |
| - | "content_strategy": null | + | "objective_student_id": 3403 |
| } | } | ||
| ] | ] | ||
| </code> | </code> | ||