Returns a list of news article

GET /api/media/news_article

Query parameters

  • searchString string

    text to search for in the list

  • orderFieldName string

    name of the order field

  • orderFieldSort string

    sorting mode

    Values are DESC or ASC.

  • page integer

    page of the list

    Default value is 0.

  • pageSize integer

    number of entries for each page

    Minimum value is 1, maximum value is 200. Default value is 50.

  • withMaxPageNumber string

    returns the number of pages available as a header if this is set

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

Responses

  • 200 application/json

    Returns a list of news article

    Hide response attributes Show response attributes object
    • id integer
    • 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 string(date-time)
    • unpublish_date string(date-time)
    • created string(date-time)
    • updated string(date-time)
    • deleted boolean
    • image_url string
    • unified_cat_ids object

      Additional properties are allowed.

    • unified_cat_names object

      Additional properties are allowed.

    • slug_identifier string
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"
  }
]