Skip to content

School Unit Dashboard

Endpoint used to retrieve the consumption data displayed in the desired school unit dashboard in Toolzz LMS.

Terminal window
curl --request GET \
--url 'https://kong.api.toolzz.com.br/api/reports/school/{school_id}/dashboard' \
--header 'Authorization: Bearer <token>'
{
"data": {
"consumeContent": [],
"access": {
"monthly": [
{
"month": "<string>",
"access": 123
}
],
"daily": [],
"hourly": []
},
"numbers": {
"responsibles": 10,
"teachers": 5,
"students": 100,
"matriculations": 200,
"courses": 15,
"classes": 8,
"contents": 50
}
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
school_idstringSchool numeric identifier.Yes

KeyTypeDescription
dataobjectContains the statistical data.
data.consumeContentarrayList of consumed content.
data.accessobjectAccess statistics categorized by time period.
data.access.monthlyarrayMonthly access data.
data.access.monthly.monthstringMonth name.
data.access.monthly.accessnumberNumber of accesses in the month.
data.access.dailyarrayDaily access data.
data.access.hourlyarrayHourly access data.
data.numbersobjectSummary of key metrics.
data.numbers.responsiblesnumberNumber of responsible users.
data.numbers.teachersnumberNumber of teachers.
data.numbers.studentsnumberNumber of students.
data.numbers.matriculationsnumberTotal enrollments.
data.numbers.coursesnumberTotal courses.
data.numbers.classesnumberTotal classes.
data.numbers.contentsnumberTotal content items.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.