Skip to content

List Assessments

This endpoint allows listing the assessments of an institution in Toolzz LMS.

Terminal window
curl --request GET \
--url 'https://kong.api.toolzz.com.br/api/content/institution/avaliation/list?page=1&page_size=10' \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 123,
"name": "<string>",
"type": "<string>",
"schools": [
{
"id": 1,
"name": "<string>"
}
],
"courses": [
{
"id": 1,
"name": "<string>"
}
],
"themes": [],
"total_questions": 10
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": null,
"next": "<string>"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 10,
"path": "<string>",
"per_page": 10,
"to": 10,
"total": 100
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
school_idsstringSchool IDs, separated by comma (without spaces).No
course_idsstringCourse IDs, separated by comma (without spaces).No
tagsstringList of tags to filter assessments. Only assessments that have the selected tags will be returned.No
pagestringPage number for pagination.No
page_sizestringAmount of records per page.No

KeyTypeDescription
dataarrayList of assessments.
data.idnumberUnique identifier of the assessment.
data.namestringAssessment name.
data.typestringAssessment type.
data.schoolsarrayList of associated schools.
data.schools.idnumberUnique identifier of the school.
data.schools.namestringSchool name.
data.coursesarrayList of associated courses.
data.courses.idnumberUnique identifier of the course.
data.courses.namestringCourse name.
data.themesarrayList of associated themes.
data.total_questionsnumberTotal number of questions in the assessment.
linksobjectPagination links.
links.firststringURL of the first page.
links.laststringURL of the last page.
links.prevstringURL of the previous page.
links.nextstringURL of the next page.
metaobjectPagination metadata.
meta.current_pagenumberCurrent page number.
meta.fromnumberInitial record of the current page.
meta.last_pagenumberNumber of the last available page.
meta.pathstringBase URL of the API endpoint.
meta.per_pagenumberNumber of records per page.
meta.tonumberLast record of the current page.
meta.totalnumberTotal records found.

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.