Skip to main content
GET
Buscar matérias com suas turmas

Headers

Cache-Control
string | null

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

q
string | null

Trecho do código, nome do componente ou docente, de 3 a 32 caracteres, ignorando acentos, maiúsculas e espaços extras.

Required string length: 3 - 32
Pattern: \S
code
string | null

Código completo do componente, como FGA0003.

Pattern: ^\s*[A-Za-z]+[0-9]+\s*$
unit

ID ou código exato da unidade responsável, como 673 ou FCTE.

Required range: 0 < x <= 2147483647
semester
string | null

Semestre das turmas, no formato AAAA.P. Sem ele, usa o mais recente gravado.

Pattern: ^[0-9]{4}\.[0-9]$

Response

Successful Response

code
string
required
name
string
required
classrooms
SubjectClassroom · object[]
required
hours
integer | null
unit
UnitRef · object | null

Unidade acadêmica: id do SIGAA, code a sigla (ex.: FCTE).

prerequisites
SubjectRequirement · object[][] | null
corequisites
SubjectRequirement · object[][] | null
equivalences
SubjectRequirement · object[][] | null
curriculum_prerequisites
SubjectRequirement · object[][] | null
curriculum_corequisites
SubjectRequirement · object[][] | null
offered_equivalences
SubjectRequirement · object[][] | null
kind
enum<string> | null
Available options:
mandatory,
optional,
free
unlocks
SubjectReference · object[]
curriculum_period
integer | null
recommendation
SubjectRecommendation · object | null

Motivos da posição no ranking, do mais ao menos relevante.