====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
api2:adaptive:objective_students [2017/11/27 18:14] maries |
api2:adaptive:objective_students [2018/07/23 10:21] (current) maries |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| | created_at | DateTime | Date of creation of the object | | | created_at | DateTime | Date of creation of the object | | ||
| | updated_at | DateTime | Last time the object has been modified | | | updated_at | DateTime | Last time the object has been modified | | ||
| + | | required_score | Float | Score you expect your user to have to validate the objective | | ||
| + | | mastery_percentage | Float | Percentage of question you expect your user to answer correctly to validate the objective | | ||
| + | | knowledge_node_strategy | String | Indicates the strategy used to choose the best knowledge_node | | ||
| + | | content_strategy | String | Indicates the strategy used to choose the best content | | ||
| ===Create (POST)=== | ===Create (POST)=== | ||
| Line 21: | Line 25: | ||
| ^ Property ^ Type ^ Description ^ | ^ Property ^ Type ^ Description ^ | ||
| - | | objective_id* | Integer | Objective assigned | | + | | objective_id or objective_uid* | Integer | Objective assigned | |
| - | | student_id* | Integer | Student who is assigned an objective | | + | | student_id or student_uid* | Integer | Student who is assigned an objective | |
| | memorize* | Boolean | TRUE if it has to be memorized, FALSE otherwise | | | memorize* | Boolean | TRUE if it has to be memorized, FALSE otherwise | | ||
| | adaptive* | Boolean| TRUE if it has to be learned, FALSE otherwise | | | adaptive* | Boolean| TRUE if it has to be learned, FALSE otherwise | | ||
| | deadline | Timestamp | Does it have to be memorized for a specific deadline? | | | deadline | Timestamp | Does it have to be memorized for a specific deadline? | | ||
| + | | knowledge_node_strategy | string | Please consult us to discuss which strategy best fits your needs - use default if null | | ||
| + | | content_strategy | string | Please consult us to discuss which strategy best fits your needs - use default if null | | ||
| + | | required_score or mastery_percentage* | Float | Learning difficulty of the objective, between 0 and 1 | | ||
| ==Send the request (JSON input example)== | ==Send the request (JSON input example)== | ||
| Line 35: | Line 42: | ||
| "deadline": "2019-06-25", | "deadline": "2019-06-25", | ||
| "memorize": true, | "memorize": true, | ||
| - | "adaptive": true | + | "adaptive": true, |
| + | "required_score": 0.8 | ||
| } | } | ||
| </code> | </code> | ||
| Line 51: | Line 59: | ||
| "memorize": true, | "memorize": true, | ||
| "deadline": "2019-06-25", | "deadline": "2019-06-25", | ||
| - | "adaptive": true | + | "adaptive": true, |
| + | "required_score": 0.8, | ||
| + | "mastery_percentage": null, | ||
| + | "knowledge_node_strategy": null, | ||
| + | "content_strategy": null | ||
| } | } | ||
| </code> | </code> | ||
| Line 84: | Line 96: | ||
| "memorize": true, | "memorize": true, | ||
| "deadline": "2019-06-25", | "deadline": "2019-06-25", | ||
| - | "adaptive": true | + | "adaptive": true, |
| + | "required_score": 0.8, | ||
| + | "mastery_percentage": null, | ||
| + | "knowledge_node_strategy": null, | ||
| + | "content_strategy": null | ||
| } | } | ||
| </code> | </code> | ||
| Line 102: | Line 118: | ||
| "memorize": true, | "memorize": true, | ||
| "deadline": "2019-06-25", | "deadline": "2019-06-25", | ||
| - | "adaptive": true | + | "adaptive": true, |
| + | "required_score": 0.8, | ||
| + | "mastery_percentage": null, | ||
| + | "knowledge_node_strategy": null, | ||
| + | "content_strategy": null | ||
| }, | }, | ||
| { | { | ||
| Line 114: | Line 134: | ||
| "memorize": true, | "memorize": true, | ||
| "deadline": "2019-06-25", | "deadline": "2019-06-25", | ||
| - | "adaptive": true | + | "adaptive": true, |
| + | "required_score": null, | ||
| + | "mastery_percentage": 0.6, | ||
| + | "knowledge_node_strategy": null, | ||
| + | "content_strategy": null | ||
| } | } | ||
| ] | ] | ||