Consultar frequência de todas as turmas atuais
curl --request GET \
--url https://api.followw.app/classrooms/frequencyimport requests
url = "https://api.followw.app/classrooms/frequency"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms/frequency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"classroom": {
"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"
},
"frequency": {
"progress": {
"taught": 123,
"total": 123,
"percentage": 123
},
"frequency_status": "nao_registrada",
"lessons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"occurred_on": "2023-12-25",
"start_time": "<string>",
"end_time": "<string>",
"status": "presente",
"absences": 0,
"marked": false
}
],
"totals": {
"presences": 123,
"absences": 123,
"percentage": 123,
"max_absences": 123,
"estimated": true
}
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Classrooms
Consultar frequência de todas as turmas atuais
Turmas atuais com identificação e a mesma frequência da rota individual. Falha em uma turma retorna erro, sem omiti-la da lista.
GET
/
classrooms
/
frequency
Consultar frequência de todas as turmas atuais
curl --request GET \
--url https://api.followw.app/classrooms/frequencyimport requests
url = "https://api.followw.app/classrooms/frequency"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms/frequency', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"classroom": {
"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"
},
"frequency": {
"progress": {
"taught": 123,
"total": 123,
"percentage": 123
},
"frequency_status": "nao_registrada",
"lessons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"occurred_on": "2023-12-25",
"start_time": "<string>",
"end_time": "<string>",
"status": "presente",
"absences": 0,
"marked": false
}
],
"totals": {
"presences": 123,
"absences": 123,
"percentage": 123,
"max_absences": 123,
"estimated": true
}
}
}
]{
"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).