Skip to content

List Classification Test Results

This endpoint allows querying the results of a classification test in a specific course in Toolzz LMS.

Terminal window
curl --request GET \
--url 'https://kong.api.toolzz.com.br/api/content/classification/{test_name}?course_id={course_id}' \
--header 'Authorization: Bearer <token>'
{
"status": 200,
"data": [
{
"id": 123,
"nome": "<string>",
"email": "<string>",
"tentativas": [
{
"content_try_id": 1,
"content_id": 2,
"course_id": 456,
"score": 90,
"classification": "<string>",
"try": 1,
"created_at": "<string>"
}
]
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
test_namestringName of the assessment that will be used for classification.Yes
ParameterTypeDescriptionRequired
course_idintID of the course for which the results will be queried.Yes

Note: To use this resource, it is necessary to have the “Classification Tests” feature active on the platform.


KeyTypeDescription
statusnumberResponse status code.
dataarrayList of users and their results.
data.idnumberUnique user identifier.
data.nomestringUser name.
data.emailstringUser email.
data.tentativasarrayList of user attempts.
data.tentativas.content_try_idnumberUnique identifier of the content attempt.
data.tentativas.content_idnumberUnique identifier of the content.
data.tentativas.course_idnumberCourse identifier related to the attempt.
data.tentativas.scorenumberScore obtained in the attempt.
data.tentativas.classificationstringClassification based on the score.
data.tentativas.trynumberAttempt number.
data.tentativas.created_atDateAttempt creation date.

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.