GET
https://tunews.integreat-app.de/v1/news/languages
[{
"code": "string",
"name": "string",
"direction": "rtl | ltr"
}]
- direction not yet available
GET
https://tunews.integreat-app.de/v1/news/tags
[{
"id": "integer",
"name": "string"
}]
- Maybe we can get translations at some point.
- Discuss removing the number.
GET
https://tunews.integreat-app.de/v1/news/{languageCode}?page=N&count=M
- Filter-tag: (not yet supported)
tag
: tag id
- Filter:
filter
: WORD to find in title or content, e.gIntegreat
-> items with Integreat in title or content should be returned
- Pagination:
count
: Number of items to returnpage
: Page of items to retun, e.g.3
-> Items 20 - 29 should be returned
[{
"id": "integer",
"title": "string",
"tags": ["Category"],
"content": "string",
"date": "string"
}]
- As excerpt, use first N characters of text.
GET
https://tunews.integreat-app.de/v1/news/{id}
{
"id": "string",
"title": "string",
"tags": ["tags"],
"date": "string",
"content": "string",
"enewsno": "string"
}
- Show enewsno in footer