Skip to content

My home ​

Views for the signed-in person: home, activity panel and attendance statistics.

List the person's activities as a student ​

GET /me/atividades

Access: Any signed-in person. Success status: 200.

Query parameters

ParameterTypeRequiredConstraintsDescription
destringno^\d{4}-\d{2}-\d{2}$Window start date (YYYY-MM-DD), inclusive.
atestringno^\d{4}-\d{2}-\d{2}$Window end date (YYYY-MM-DD), inclusive.
limiteintegerno1…200; default: 100How many items per page (1 to 200; the default varies by route, usually 50).

Response

MinhasAtividades

FieldTypeRequiredConstraintsDescription
itemslist of MinhaAtividadeDtoyes

On error: ErroApi model.

Example

bash
curl -X GET "$API/me/atividades" -H "Authorization: Bearer $TOKEN"

The person's home (student, assessor and management) ​

GET /me/cockpit

Access: Any signed-in person. Success status: 200.

Query parameters

ParameterTypeRequiredConstraintsDescription
instituicaoIdstring (uuid)noInstitution id.

Response

Cockpit

FieldTypeRequiredConstraintsDescription
alunoCockpitAluno or nullyes
avaliadorCockpitAvaliador or nullyes
gestaoCockpitGestao or nullyes

On error: ErroApi model.

Example

bash
curl -X GET "$API/me/cockpit" -H "Authorization: Bearer $TOKEN"

The person's attendance statistics ​

GET /me/estatisticas

Access: Any signed-in person. Success status: 200.

Query parameters

ParameterTypeRequiredConstraintsDescription
destringno^\d{4}-\d{2}-\d{2}$Window start date (YYYY-MM-DD), inclusive.
atestringno^\d{4}-\d{2}-\d{2}$Window end date (YYYY-MM-DD), inclusive.
turmaIdstring (uuid)noClass id.
turmaAtiva"true" | "false"nodefault: "true"true returns active classes only.

Response

Estatisticas

FieldTypeRequiredConstraintsDescription
turmaslist of EstatisticaTurmayes

On error: ErroApi model.

Example

bash
curl -X GET "$API/me/estatisticas" -H "Authorization: Bearer $TOKEN"

The person's activity panel, with filters ​

GET /me/painel

Access: Any signed-in person. Success status: 200.

Query parameters

ParameterTypeRequiredConstraintsDescription
destringno^\d{4}-\d{2}-\d{2}$Window start date (YYYY-MM-DD), inclusive.
atestringno^\d{4}-\d{2}-\d{2}$Window end date (YYYY-MM-DD), inclusive.
instituicaoIdstring (uuid)noInstitution id.
disciplinaIdstring (uuid)noDiscipline id.
turmaIdstring (uuid)noClass id.
alunoIdstring (uuid)noStudent id.
estadosstringnoAttendance request states, comma-separated.
turmaAtiva"true" | "false"nodefault: "true"true returns active classes only.
limiteintegerno1…500; default: 300How many items per page (1 to 200; the default varies by route, usually 50).

Response

Painel

FieldTypeRequiredConstraintsDescription
itemslist of PainelItemyes
truncadobooleanyesThere were more rows than the limit.
opcoesobjectyesFilter options: everything the person can see, regardless of the active filters.
opcoes.instituicoeslist of objectyes
opcoes.instituicoes[].idstring (uuid)yes
opcoes.instituicoes[].siglastringyes
opcoes.instituicoes[].nomestringyes
opcoes.disciplinaslist of objectyes
opcoes.disciplinas[].idstring (uuid)yes
opcoes.disciplinas[].siglastringyes
opcoes.disciplinas[].nomestringyes
opcoes.disciplinas[].instituicaoIdstring (uuid)yes
opcoes.turmaslist of objectyes
opcoes.turmas[].idstring (uuid)yes

On error: ErroApi model.

Example

bash
curl -X GET "$API/me/painel" -H "Authorization: Bearer $TOKEN"

contato@presente.app.br