Skip to main content

news.item.updated

An existing article's data changed (title, description, link, publication time, publisher, author, original, places or images).

Delivery Metadata​

FieldValue
Scopefeed
Feed typenews
Source/feeds/news/{feedId}
SubjectThe news feed item id.

Event Data Schema​

The data field in the event payload contains the following structure:

FieldTypeRequiredDescription
feedIdstring (uuid)YesID of the news feed that was updated
idstring (uuid)YesID of the news feed item that was updated. Use with [`GET /feeds/news/{feedId}/items/{id}`](/docs/news-feeds/api-reference#get-a-single-feed-item) to fetch the current item.
newsPageIdstring (uuid)YesID of the underlying news article. Same value across every feed that contains this article.
changedFieldsarrayYesWhich fields of the item changed in this update, compared with the previous update, at least one: `title`, `description` and `url`: the item's text and link; `publishedAt`: when it was published; `publisher`: who published it (name, domain or handle, platform); `author`: its byline; `original`: whose content it republishes; `about`: the places the item is about, or their order; `media`: the images served with it, their order, or an image's kind or credit (a new signed URL is not a change). A hint, not a complete record: debounce can collapse several updates into the newest one, so earlier changes may be missing. Re-fetch the item on every `news.item.updated`.

Example Payload​

Complete example of a CloudEvents-formatted event payload for this event type. The id field is the envelope identifier — stable across retries; use it as your idempotency key.

{
"specversion": "1.0",
"type": "news.item.updated",
"source": "/feeds/news/{feedId}",
"subject": "123e4567-e89b-12d3-a456-426614174000",
"id": "456e7890-a12b-34c5-d678-901234567890",
"time": "2024-01-15T10:30:00.000Z",
"datacontenttype": "application/json",
"data": {
"feedId": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"newsPageId": "123e4567-e89b-12d3-a456-426614174000",
"changedFields": [
"title"
]
}
}