Student
Reminder: if you are using an app/client ID in sandbox, you must use sandbox.motar.io
as the endpoint for your requests. Requests to api.motar.io
with a sandbox client ID will fail!
These routes all require the "training" scope to be registered for the app you are making requests from. This scope requires special permission from MOTAR administrators.
Add a Comment
POST
https://api.motar.io/edu/v1/student/comment
Adds a comment about a student.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token generated by user login. |
Request Body
Name | Type | Description |
---|---|---|
studentId | string | ID of the student to which this comment pertains. |
classId | string | ID of the class to which this comment pertains. |
text | string | Text of the comment. |
lessonId | string | If the comment pertains to a specific lesson, specify it here. |
Read Comments
GET
https://api.motar.io/edu/v1/student/comment
Retrieves comments about students based on the query provided.
Query Parameters
Name | Type | Description |
---|---|---|
studentId | string | ID of the student whose comments you would like to retrieve. |
classId | string | ID of the class to retrieve comments for. |
courseId | string | ID of the course to retrieve comments for. |
lessonId | string | ID of the lesson to retrieve comments for. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token generated by user login. |
Last updated