Skip to main content

news.item.removed

An article was removed from a news feed.

Delivery Metadata​

FieldValue
Scopefeed
Feed typenews
Source/feeds/news/{feedId}
SubjectThe news article id (newsPageId) that was removed.

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 removed: the `id` you received in `news.item.added`. The item is gone from the feed, so fetching it returns `404`.
newsPageIdstring (uuid)YesID of the news article that was removed from the feed

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.removed",
"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"
}
}