====== 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 [2018/07/20 17:48] 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 26: | Line 30: | ||
| | 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 | Indicates the strategy used to choose the best knowledge_node | | + | | knowledge_node_strategy | string | Please consult us to discuss which strategy best fits your needs - use default if null | |
| - | | content_strategy | string | Indicates the strategy used to choose the best content | | + | | 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 37: | 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 53: | 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 86: | 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 104: | 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 116: | 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 | ||
| } | } | ||
| ] | ] | ||