Query parameters
-
text to search for in the list
-
name of the order field
-
sorting mode
Values are
DESC
orASC
. -
page of the list
Default value is
0
. -
number of entries for each page
Minimum value is
1
, maximum value is200
. Default value is50
. -
returns the number of pages available as a header if this is set
-
build id of the client
-
package id of the client
GET
/api/media/news_article
curl \
--request GET 'https://replace-with-own-host.iw-erp.de/api/media/news_article' \
--header "x-session-token: $API_KEY"
Response examples (200)
[
{
"id": 42,
"news_type": "string",
"token": "string",
"public_title": "string",
"public_copyright": "string",
"public_language_code": "string",
"public_subtitle": "string",
"public_author": "string",
"public_summary": "string",
"public_thumbnail": "string",
"public_keywords": "string",
"public_category": "string",
"publish_date": "2025-05-04T09:42:00Z",
"unpublish_date": "2025-05-04T09:42:00Z",
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true,
"image_url": "string",
"unified_cat_ids": {},
"unified_cat_names": {},
"slug_identifier": "string"
}
]