====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
api2:adaptive:reviews [2017/10/16 12:25] maries |
api2:adaptive:reviews [2017/11/28 10:02] (current) maries |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===Fetch Reviews (GET)=== | ===Fetch Reviews (GET)=== | ||
| + | |||
| + | This route will give you the set of Knowledge Node Student which represent the Knowledge Nodes, i.e. the concepts, that are being worked on for review. | ||
| ^ Method | GET| | ^ Method | GET| | ||
| Line 16: | Line 18: | ||
| <code> | <code> | ||
| { | { | ||
| - | student_id: 4, | + | "student_id": 267, |
| - | pending: true | + | "pending": true |
| } | } | ||
| </code> | </code> | ||
| Line 24: | Line 26: | ||
| <code> | <code> | ||
| - | [{ | + | [ |
| - | id: 941, | + | { |
| - | knowledge_node_id: 36, | + | "id": 759, |
| - | student_id: 31, | + | "knowledge_node_id": 2714, |
| - | next_review_at: "2017-10-03 12:24:49", | + | "student_id": 267, |
| - | active: true, | + | "next_review_at": "2017-11-22T09:53:09.621Z", |
| - | score : 0.33 | + | "student_uid": null, |
| - | }, | + | "knowledge_node_uid": null |
| - | { | + | }, |
| - | id: 945, | + | { |
| - | knowledge_node_id: 51, | + | "id": 760, |
| - | student_id: 31, | + | "knowledge_node_id": 2715, |
| - | next_review_at: "2017-10-09 15:17:14", | + | "student_id": 267, |
| - | active: true, | + | "next_review_at": "2017-09-22T14:35:42.009Z", |
| - | score : 0.47 | + | "student_uid": null, |
| - | }] | + | "knowledge_node_uid": null |
| + | }, | ||
| + | { | ||
| + | "id": 761, | ||
| + | "knowledge_node_id": 2716, | ||
| + | "student_id": 267, | ||
| + | "next_review_at": "2017-09-22T14:35:43.288Z", | ||
| + | "student_uid": null, | ||
| + | "knowledge_node_uid": null | ||
| + | } | ||
| + | ] | ||
| </code> | </code> | ||
| ===Fetch Questions for Review (GET)=== | ===Fetch Questions for Review (GET)=== | ||
| - | This requires that you declared your content on our API, and defined which were questions.\\ | + | This requires that you declared your content on our API, and defined which contents are questions.\\ |
| It will give you the questions one student has do to for his/her reviews. | It will give you the questions one student has do to for his/her reviews. | ||
| Line 58: | Line 70: | ||
| <code> | <code> | ||
| { | { | ||
| - | student_uid: "3" | + | "student_id": 267 |
| } | } | ||
| </code> | </code> | ||
| Line 66: | Line 78: | ||
| <code> | <code> | ||
| [ | [ | ||
| - | { | + | { |
| - | "knowledge_node_id":36, | + | "knowledge_node_id": 2715, |
| - | "content_id":73, | + | "content_id": 561, |
| - | "content_uid":"3" | + | "content_uid": "5" |
| - | }, | + | }, |
| - | { | + | { |
| - | "knowledge_node_id":42, | + | "knowledge_node_id": 2716, |
| - | "content_id":84, | + | "content_id": 897, |
| - | "content_id":"17" | + | "content_uid": "63" |
| - | } | + | }, |
| + | { | ||
| + | "knowledge_node_id": 2714, | ||
| + | "content_id": 702, | ||
| + | "content_uid": "30" | ||
| + | } | ||
| ] | ] | ||
| </code> | </code> | ||