====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
alerts_engine:main_structure [2017/10/10 18:15] maries |
alerts_engine:main_structure [2017/10/11 10:20] (current) maries |
||
|---|---|---|---|
| Line 17: | Line 17: | ||
| | content_id | Integer | ID of the content involved in the trigger of the alert | | | content_id | Integer | ID of the content involved in the trigger of the alert | | ||
| | content_url | String | url of the content involved in the trigger of the alert | | | content_url | String | url of the content involved in the trigger of the alert | | ||
| - | | content_uid |`String | uid of the content involved in the trigger of the alert | | + | | content_uid | String | uid of the content involved in the trigger of the alert | |
| | event_id | String | ID of the event involved in the trigger of the alert | | | event_id | String | ID of the event involved in the trigger of the alert | | ||
| | knowledge_node_id | Integer | Knowledge Node, i.e. concept, involved in the trigger of the alert| | | knowledge_node_id | Integer | Knowledge Node, i.e. concept, involved in the trigger of the alert| | ||
| Line 81: | Line 81: | ||
| <code> | <code> | ||
| - | {id":644,"student_id":45,"content_id":2004,"alert_model_id":3,"displayed":false,"active":true,"created_at":"2017-08-22T08:22:42.137Z","updated_at":"2017-08-22T08:22:42.137Z","assignment":null,"assignment_type":null,"instance_id":1,"event_id":17,"content_url":null,"content_uid":“math_content3”,"knowledge_node_id":5} | + | { |
| + | id":644, | ||
| + | "student_id":45, | ||
| + | "content_id":2004, | ||
| + | "alert_model_id":3, | ||
| + | "displayed":false, | ||
| + | "active":true, | ||
| + | "created_at":"2017-08-22T08:22:42.137Z", | ||
| + | "updated_at":"2017-08-22T08:22:42.137Z", | ||
| + | "assignment":null, | ||
| + | "assignment_type":null, | ||
| + | "instance_id":1, | ||
| + | "event_id":17, | ||
| + | "content_url":null, | ||
| + | "content_uid":“math_content3”, | ||
| + | "knowledge_node_id":5 | ||
| + | } | ||
| </code> | </code> | ||
| Line 109: | Line 125: | ||
| [ | [ | ||
| { | { | ||
| - | "id":644,"student_id":45,"content_id":2004,"content_uid":null,"content_url":null,"assignment_id":null,"assignement_type":null,"created_at":"2017-08-22T08:22:42.137Z","alert_model":{"name":"Hesitating","description":"Alerts when a student took a long time to complete a content"} | + | "id":644, |
| + | "student_id":45, | ||
| + | "content_id":2004, | ||
| + | "content_uid":null, | ||
| + | "content_url":null, | ||
| + | "assignment_id":null, | ||
| + | "assignement_type":null, | ||
| + | "created_at":"2017-08-22T08:22:42.137Z", | ||
| + | "alert_model":{"name":"Hesitating","description":"Alerts when a student took a long time to complete a content"} | ||
| }, | }, | ||
| { | { | ||
| - | "id":645,"student_id":884,"content_id":2010,"content_uid":null,"content_url":null,"assignment_id":null,"assignement_type":null,"created_at":"2017-08-22T15:03:36.484Z","alert_model":{"name":"Hesitating","description":"Alerts when a student took a long time to complete a content"} | + | "id":645, |
| + | "student_id":884, | ||
| + | "content_id":2010, | ||
| + | "content_uid":null, | ||
| + | "content_url":null, | ||
| + | "assignment_id":null, | ||
| + | "assignement_type":null, | ||
| + | "created_at":"2017-08-22T15:03:36.484Z", | ||
| + | "alert_model":{"name":"Hesitating","description":"Alerts when a student took a long time to complete a content"} | ||
| } | } | ||
| ] | ] | ||
| Line 186: | Line 218: | ||
| "created_at": "2017-09-08T07:00:51.584Z", | "created_at": "2017-09-08T07:00:51.584Z", | ||
| "alert_model": {"name": "Tutoring","description": "A succeeding student have been found as a tutor for one student in difficulty"} | "alert_model": {"name": "Tutoring","description": "A succeeding student have been found as a tutor for one student in difficulty"} | ||
| + | } | ||
| ] | ] | ||
| </code> | </code> | ||