Marcar presença, falta ou aula cancelada
curl --request PATCH \
--url https://api.followw.app/classrooms/{classroom_id}/frequency/lessons \
--header 'Content-Type: application/json' \
--data '
[
{
"lesson_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
'import requests
url = "https://api.followw.app/classrooms/{classroom_id}/frequency/lessons"
payload = [{ "lesson_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }]
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify([{lesson_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}])
};
fetch('https://api.followw.app/classrooms/{classroom_id}/frequency/lessons', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Classrooms
Marcar presença, falta ou aula cancelada
Aplica todas as marcações ou nenhuma. Vale enquanto o SIGAA não registra a aula: a chamada publicada substitui a marcação. status null remove a marcação, sem apagar a chamada do SIGAA. Aula repetida ou que ainda não aconteceu retorna 422.
PATCH
/
classrooms
/
{classroom_id}
/
frequency
/
lessons
Marcar presença, falta ou aula cancelada
curl --request PATCH \
--url https://api.followw.app/classrooms/{classroom_id}/frequency/lessons \
--header 'Content-Type: application/json' \
--data '
[
{
"lesson_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
'import requests
url = "https://api.followw.app/classrooms/{classroom_id}/frequency/lessons"
payload = [{ "lesson_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }]
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify([{lesson_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}])
};
fetch('https://api.followw.app/classrooms/{classroom_id}/frequency/lessons', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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).
Path Parameters
Classroom.id ou Classroom.sigaa_id.
Body
application/json
Response
Successful Response