Consultar as turmas do usuário autenticado
curl --request GET \
--url https://api.followw.app/classroomsimport requests
url = "https://api.followw.app/classrooms"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"number": "<string>",
"semester": "<string>",
"subject": {
"code": "<string>",
"name": "<string>",
"hours": 123,
"unit": {
"id": 123,
"code": "<string>",
"name": "<string>"
}
},
"professors": [],
"vacancies": 123,
"occupied": 123,
"sigaa_id": 123,
"schedule": "<string>",
"room": "<string>",
"current": false,
"grade": "SS",
"status": "cursando"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Classrooms
Consultar as turmas do usuário autenticado
Cada turma traz a menção do usuário em grade (null até ser lançada ou sincronizada). A menção é atualizada pelo sync do login e de /auth/sigaa/refresh.
GET
/
classrooms
Consultar as turmas do usuário autenticado
curl --request GET \
--url https://api.followw.app/classroomsimport requests
url = "https://api.followw.app/classrooms"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"number": "<string>",
"semester": "<string>",
"subject": {
"code": "<string>",
"name": "<string>",
"hours": 123,
"unit": {
"id": 123,
"code": "<string>",
"name": "<string>"
}
},
"professors": [],
"vacancies": 123,
"occupied": 123,
"sigaa_id": 123,
"schedule": "<string>",
"room": "<string>",
"current": false,
"grade": "SS",
"status": "cursando"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
no-cache (ou max-age=0) busca na origem antes de responder; max-age=N aceita cache de até N s; stale-if-error[=N] devolve o cache se a origem falhar; only-if-cached nunca busca (504 sem cache).
Query Parameters
Sem filtro: turmas atuais. Use 'all' ou um semestre no formato AAAA.P, como 2026.2.
Pattern:
^(all|[0-9]{4}\.[0-9])$Response
Successful Response
O componente como o cache guarda, pelo código.
Show child attributes
Show child attributes
Vagas na coleta do seed, não em tempo real.
Ocupação na coleta do seed, não em tempo real.
Available options:
SS, MS, MM, MI, II, SR Available options:
cursando, trancado, concluido, pending_enrollment, denied