GET
getArticles
Query all articles (ID, title, type) according to filter parameters.
https://api.srgssr.ch/swi/articles/v1 /article
Name | Values | Description |
---|---|---|
numberPerPage |
Specifies the number of articles returned per page. Default - 10. |
|
pageNum |
Specifies the number for the page to retrieve. Default - 0. |
|
query |
Allows a free text search for the given query. Example - politics. |
|
segment |
Choose for which language segment articles will be retrieved. If missing, articles for all languages are returned. Example - ger |
|
selectedSortOrder |
Specifies the order in which articles are returned. Example - freshness asc |
HTTP Code | Error Code | Description |
---|---|---|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
Resource Summary
Security |
Category |
---|---|
Public |