Skip to main content
GET
Consultar um post da 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.

post_id
string
required

ID do post na listagem da turma.

Pattern: ^(news:[1-9][0-9]*|assessment:[1-9][0-9]*|topic:[a-f0-9]{64}|material:[a-f0-9]{64})$

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[]