Skip to main content
GET
Consultar posts de uma turma

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).

Path Parameters

classroom_id
string
required

Classroom.id ou Classroom.sigaa_id.

Query Parameters

type
enum<string> | null

Filtrar por categoria do post.

Available options:
news,
topic,
material,
assessment

Response

Successful Response

id
string
required
type
enum<string>
required
Available options:
news,
topic,
material,
assessment
title
string
required
sigaa_id
string | null
classroom_sigaa_id
integer | null
topic_id
string | null
content
string | null
published_on
string<date> | null
published_at
string<date-time> | null
starts_on
string<date> | null
ends_on
string<date> | null
starts_at
string<date-time> | null
time_label
string | null
url
string | null
attachments
NewsAttachment · object[]