====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
api2:adaptive:recommendations [2017/10/16 12:08] maries |
api2:adaptive:recommendations [2018/07/23 10:34] (current) maries |
||
|---|---|---|---|
| Line 65: | Line 65: | ||
| ^ Property ^ Type ^ Description ^ | ^ Property ^ Type ^ Description ^ | ||
| | student_id or student_uid * | Integer or String | Identifier of the student | | | student_id or student_uid * | Integer or String | Identifier of the student | | ||
| - | | objective_id | Integer | Identifier of the objective | | + | | objective_id or uid | Integer | Identifier of the objective | |
| + | | objectives | String | If "all" it will select all your objectives | | ||
| | limit | Integer | The maximum number of recommendations you want (1 by default) | | | limit | Integer | The maximum number of recommendations you want (1 by default) | | ||
| + | |||
| + | If no objective_id nor objectives parameters are given, the API will select all your active objectives. | ||
| ===Fetch the next best content (GET)=== | ===Fetch the next best content (GET)=== | ||
| Line 78: | Line 81: | ||
| | student_id or student_uid * | Integer or String | Identifier of the student | | | student_id or student_uid * | Integer or String | Identifier of the student | | ||
| | objective_id | Integer | Identifier of the objective | | | objective_id | Integer | Identifier of the objective | | ||
| + | | objectives | String | If "all" it will select all your objectives | | ||
| | limit | Integer | The maximum number of recommendations you want (1 by default) | | | limit | Integer | The maximum number of recommendations you want (1 by default) | | ||
| | knowledge_node_id | Integer | If you want recommendations on a specific Knowledge Node | | | knowledge_node_id | Integer | If you want recommendations on a specific Knowledge Node | | ||
| + | |||
| + | |||
| + | If no objective_id nor objectives parameters are given, the API will select all your active objectives. | ||