Data Analysis
The Data analysis scope is currently in Beta.
Last updated
The Data analysis scope is currently in Beta.
Last updated
This API is currently in Beta. If you would like to make suggestions for this API, please contact a MOTAR customer support representative.
This API routes are for teacher (instructor) users. Using these endpoints as a student user will likely not return any data.
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 "data analysis" scope to be registered for the app you are making requests from. This scope requires special permission from MOTAR administrators.
GET
https://api.motar.io/edu/v1/teacher/courses
Retrieves a paginated list of course belonging to an authenticated teacher user
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.motar.io/edu/v1/teacher/classes
Retrieves a paginated list of classes (a group of students taking a course) belonging to an authenticated teacher user.
GET
https://api.motar.io/edu/v1/teacher/students
Retrieves a paginated list of students in a class, or across all classes using a supplied course.
GET
https://api.motar.io/edu/v1/teacher/student/results
Retrieves a paginated list of MOTAR lessons, each including a list of attempts by the specified student.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
page
string
Page number. Defaults to 1 if not provided.
limit
string
Number of results per page. Defaults to 10 if not provided.
Authorization*
string
Auth token generated by SSO, provided as a Bearer token.
page
string
Page number. Defaults to 1 if not provided.
limit
string
Number of results per page. Defaults to 10 if not provided.
includeCourses
boolean
If "true", the "courseId" property in the returned documents will be replaced with a full course document.
Authorization*
string
Auth token generated by SSO, provided as a Bearer token.
page
string
Page number. Defaults to 1 if not provided.
limit
string
Number of results per page. Defaults to 10 if not provided.
courseId
string
A unique identifier for a MOTAR course. Required if classId is not supplied.
classId
string
A unique identifier for a MOTAR class. Required if courseId is not supplied.
Authorization
string
Auth token generated by SSO, provided as a Bearer token.
page
string
Page number. Defaults to 1 if not provided.
limit
string
Number of results per page. Defaults to 10 if not provided.
studentId*
string
Unique identifier for a student. Note that a student ID is distinct from user ID. You must use a student ID in this request.
Authorization
string
Auth token generated by SSO, provided as a Bearer token.