Consultar docentes e discentes de uma turma do usuário
curl --request GET \
--url https://api.followw.app/classrooms/{classroom_id}/membersimport requests
url = "https://api.followw.app/classrooms/{classroom_id}/members"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms/{classroom_id}/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "<string>",
"role": "aluno",
"registration": "<string>",
"photo": "<string>",
"email": "<string>",
"course": {
"id": 123,
"name": "<string>",
"shift": "<string>"
},
"unit": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"person_id": 123
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Classrooms
Consultar docentes e discentes de uma turma do usuário
GET
/
classrooms
/
{classroom_id}
/
members
Consultar docentes e discentes de uma turma do usuário
curl --request GET \
--url https://api.followw.app/classrooms/{classroom_id}/membersimport requests
url = "https://api.followw.app/classrooms/{classroom_id}/members"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/classrooms/{classroom_id}/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "<string>",
"role": "aluno",
"registration": "<string>",
"photo": "<string>",
"email": "<string>",
"course": {
"id": 123,
"name": "<string>",
"shift": "<string>"
},
"unit": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"person_id": 123
}
]{
"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.
Response
Successful Response
Available options:
aluno, professor, monitor Show child attributes
Show child attributes
Unidade acadêmica: id do SIGAA, code a sigla (ex.: FCTE).
Show child attributes
Show child attributes