====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
api2:data:learning_sessions [2019/05/23 17:43] maries |
api2:data:learning_sessions [2019/05/23 17:56] (current) maries |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| | id | Integer | identifier for the database of Domoscio's API | | | id | Integer | identifier for the database of Domoscio's API | | ||
| | uid | String | The ID of this learning_session in your Database | | | uid | String | The ID of this learning_session in your Database | | ||
| + | | payload | jsonb | Information about the learning_session | | ||
| | student_id | Integer | Identifier of the student | | | student_id | Integer | Identifier of the student | | ||
| | starting_time | DateTime | Starting Time of the session | | | starting_time | DateTime | Starting Time of the session | | ||
| Line 21: | Line 22: | ||
| | student_id or uid* | Integer or String | Identifier of the student | | | student_id or uid* | Integer or String | Identifier of the student | | ||
| | uid | String | The ID of this learning_session in your Database | | | uid | String | The ID of this learning_session in your Database | | ||
| + | | payload | jsonb | Information about the learning_session | | ||
| | starting_time* | DateTime | Starting Time of the session | | | starting_time* | DateTime | Starting Time of the session | | ||
| | ending_time* | DateTime | Ending Time of the session | | | ending_time* | DateTime | Ending Time of the session | | ||
| Line 30: | Line 32: | ||
| "student_id": 4, | "student_id": 4, | ||
| "uid": "LS4", | "uid": "LS4", | ||
| + | "payload": {}, | ||
| "starting_time": "2019-05-20 14:43:31", | "starting_time": "2019-05-20 14:43:31", | ||
| "ending_time": "2019-05-20 14:45:31" | "ending_time": "2019-05-20 14:45:31" | ||
| Line 41: | Line 44: | ||
| "id": 1, | "id": 1, | ||
| "uid": "LS4", | "uid": "LS4", | ||
| + | "payload": {}, | ||
| "student_id": 4, | "student_id": 4, | ||
| "starting_time": "2019-05-20T14:43:31.000Z", | "starting_time": "2019-05-20T14:43:31.000Z", | ||
| Line 70: | Line 74: | ||
| "id": 1, | "id": 1, | ||
| "student_id": 4, | "student_id": 4, | ||
| + | "uid": "LS4" | ||
| + | "payload": {}, | ||
| "starting_time": "2019-05-20T14:43:31.000Z", | "starting_time": "2019-05-20T14:43:31.000Z", | ||
| "ending_time": "2019-05-20T14:45:31.000Z", | "ending_time": "2019-05-20T14:45:31.000Z", | ||
| Line 84: | Line 90: | ||
| "id": 1, | "id": 1, | ||
| "student_id": 4, | "student_id": 4, | ||
| + | "uid": "LS1" | ||
| + | "payload": {}, | ||
| "starting_time": "2018-05-20T14:43:31.000Z", | "starting_time": "2018-05-20T14:43:31.000Z", | ||
| "ending_time": "2018-05-20T14:45:31.000Z", | "ending_time": "2018-05-20T14:45:31.000Z", | ||
| Line 92: | Line 100: | ||
| "id": 2, | "id": 2, | ||
| "student_id": 4, | "student_id": 4, | ||
| + | "uid": "LS2" | ||
| + | "payload": {}, | ||
| "starting_time": "2019-05-20T14:43:31.000Z", | "starting_time": "2019-05-20T14:43:31.000Z", | ||
| "ending_time": "2019-05-20T14:45:31.000Z", | "ending_time": "2019-05-20T14:45:31.000Z", | ||
| "created_at": "2019-05-20T12:55:46.394Z", | "created_at": "2019-05-20T12:55:46.394Z", | ||
| "updated_at": "2019-05-20T12:55:46.394Z" | "updated_at": "2019-05-20T12:55:46.394Z" | ||
| - | }, | ||
| - | { | ||
| - | "id": 3, | ||
| - | "student_id": 4, | ||
| - | "starting_time": "2019-05-21T14:43:31.000Z", | ||
| - | "ending_time": "2019-05-21T14:45:31.000Z", | ||
| - | "created_at": "2019-05-20T12:55:57.700Z", | ||
| - | "updated_at": "2019-05-20T12:55:57.700Z" | ||
| } | } | ||
| ] | ] | ||