Consultar notícias recentes das turmas atuais
curl --request GET \
--url https://api.followw.app/posts/newsimport requests
url = "https://api.followw.app/posts/news"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/posts/news', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"classroom": {
"id": "<string>",
"number": "<string>",
"semester": "<string>",
"subject": {
"code": "<string>",
"name": "<string>",
"hours": 123,
"unit": {
"id": 123,
"code": "<string>",
"name": "<string>"
}
},
"professors": [],
"vacancies": 123,
"occupied": 123,
"sigaa_id": 123,
"schedule": "<string>",
"room": "<string>",
"current": false,
"grade": "SS",
"status": "cursando"
},
"post": {
"id": "<string>",
"type": "news",
"title": "<string>",
"sigaa_id": "<string>",
"classroom_sigaa_id": 123,
"topic_id": "<string>",
"content": "<string>",
"published_on": "2023-12-25",
"published_at": "2023-11-07T05:31:56Z",
"starts_on": "2023-12-25",
"ends_on": "2023-12-25",
"starts_at": "2023-11-07T05:31:56Z",
"time_label": "<string>",
"url": "<string>",
"attachments": []
}
}
],
"updating": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Posts
Consultar notícias recentes das turmas atuais
Até cinco notícias. updating indica atualização pendente; texto e anexos completos ficam no detalhe do post.
GET
/
posts
/
news
Consultar notícias recentes das turmas atuais
curl --request GET \
--url https://api.followw.app/posts/newsimport requests
url = "https://api.followw.app/posts/news"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.followw.app/posts/news', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"classroom": {
"id": "<string>",
"number": "<string>",
"semester": "<string>",
"subject": {
"code": "<string>",
"name": "<string>",
"hours": 123,
"unit": {
"id": 123,
"code": "<string>",
"name": "<string>"
}
},
"professors": [],
"vacancies": 123,
"occupied": 123,
"sigaa_id": 123,
"schedule": "<string>",
"room": "<string>",
"current": false,
"grade": "SS",
"status": "cursando"
},
"post": {
"id": "<string>",
"type": "news",
"title": "<string>",
"sigaa_id": "<string>",
"classroom_sigaa_id": 123,
"topic_id": "<string>",
"content": "<string>",
"published_on": "2023-12-25",
"published_at": "2023-11-07T05:31:56Z",
"starts_on": "2023-12-25",
"ends_on": "2023-12-25",
"starts_at": "2023-11-07T05:31:56Z",
"time_label": "<string>",
"url": "<string>",
"attachments": []
}
}
],
"updating": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}