The news object provides methods to list news feeds.
Get the latest news
Table 2.209. Parameters
Parameter | Description | Type | Required | Default |
---|---|---|---|---|
id | Get news with a specified ID | int | false | |
year | Get only news from the specified year | int | false | |
language | Get only news in the specified language | language | false | |
kdnr | Get only news for a specific customer and filter out all other INWX subsidiaries | int | false | |
page | Page number for paging | int | false | 1 |
pagelimit | Max number of results per page | int | false | 20 |
Table 2.210. Parameters
Parameter | Description | Type | Optional |
---|---|---|---|
count | Total number of news | int | |
years | List of years that have at least one news item | array_int | |
news | |||
... id | Id of the news item | int | |
... date | Date of the news | dateTime | |
... title | Title of the news | token255 | |
... textShort | Short text of the news | text | |
... textLong | Long text of the news | text | |
provid | Current customers providerID (INWX subsidiary ID) | int | |
providerIds | When searching by a specific news ID, this array defines for which providerIDs the news exists | array_int |