Listar alunos

Listar alunos

Required scopes:nutror_my_students_read
GET
https://api.eduzz.com/nutror/v1/students/

Query params

page
number

Página atual

itemsPerPage
number

Número de itens por página

id
string

Id do aluno

email
string

Email do aluno

Response params (200)

pages
number

Número de páginas

page
number

Página atual

itemsPerPage
number

Número máximo de itens por página

totalItems
number

Número total de items

items
array of object
items[n].id
string

Id do aluno

items[n].name
string

Nome do aluno

items[n].email
string

Email do aluno

items[n].avatar
url

Avatar do aluno

Status codes

StatusDescrição
200Success
Swagger Logo

Exemplos

1curl --request GET \
2	--url https://api.eduzz.com/nutror/v1/students/ \
3	--header 'Accept: application/json' \
4	--header 'Content-Type: application/json' \
5	--header 'authorization: Bearer {{YOUR_ACCESS_TOKEN}}'
Response
1{
2  "pages": 1,
3  "page": 1,
4  "itemsPerPage": 10,
5  "totalItems": 1,
6  "items": [
7    {
8      "id": "9b71e95310b7464bb6ca910ab3036372",
9      "name": "João Carlos",
10      "email": "test@test.com",
11      "avatar": "https://www.example.com/avatar.jpg"
12    },
13    {
14      "id": "124323123",
15      "name": "Maria Silva",
16      "email": "xpto@test.com",
17      "avatar": "https://www.example.com/avatar.jpg"
18    }
19  ]
20}