Course Reactions
Endpoint used to retrieve the evaluations (reactions) made for a specific course in Toolzz LMS.
Request Example
Section titled “Request Example”curl --request GET \ --url 'https://kong.api.toolzz.com.br/api/reports/course/{course_id}/evaluations?per_page=10&page=1' \ --header 'Authorization: Bearer <token>'Response Example
Section titled “Response Example”{ "current_page": 1, "data": [ { "user": { "id": 1, "name": "<string>", "email": "<string>" }, "course": { "id": 1, "title": "<string>" }, "answerWithQuestions": {} } ]}Request description
Section titled “Request description”Access Token
Section titled “Access Token”| Parameter | Type | Description | Required |
|---|---|---|---|
Authorization | String | Access token (“Bearer” must be before the token) | Yes |
URL Parameters (Path)
Section titled “URL Parameters (Path)”| Parameter | Type | Description | Required |
|---|---|---|---|
course_id | int | ID of the course whose reactions will be listed. | Yes |
URL Parameters (Query)
Section titled “URL Parameters (Query)”| Parameter | Type | Description | Required |
|---|---|---|---|
per_page | int | Number of records per page. | No |
page | int | Page number of the listing. | No |
Response description
Section titled “Response description”| Key | Type | Description |
|---|---|---|
current_page | number | Current page number. |
data | array | List of user data in the course. |
data.user | object | User information. |
data.user.id | number | Unique identifier of the user. |
data.user.name | string | Name of the user. |
data.user.email | string | Email address of the user. |
data.course | object | Course information. |
data.course.id | number | Unique identifier of the course. |
data.course.title | string | Course title. |
data.answerWithQuestions | object | Object containing answers and related questions. |
Security
Section titled “Security”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.