News

Update a news asset row (pick a different item_id, flip to confirmed)

patch/api/news/article/{id}/assets/{assetId}

Request

Path parameters

idinteger required
assetIdinteger required

Request body

item_idinteger nullable

FK to items; must reference an existing catalog row.

match_status'confirmed' | 'dismissed' | 'needs_review'

Reviewer-driven state transitions (needs_review = unconfirm).

contextstring nullable

Editable free-text note. Send null or an empty string to clear it; omit to leave it unchanged.

Example request

{
  "item_id": 481,
  "match_status": "confirmed",
  "context": "Mentioned in paragraph 3 as the title sponsor."
}

Response

Asset row updated

idinteger

Serialises a {@see NewsAsset} row for the Article Analysis view's assets table. Hydrates the item payload (canonical catalog row, incl. platform/subplatform ids) when set and always emits match_candidates (as [] when no top-K available).

curated_news_idinteger
suggested_namestring
confidencenumber float
match_status'pending' | 'auto_match' | 'needs_review' | 'no_match' | 'confirmed' | 'dismissed'
source'extracted' | 'manual'
contextstring nullable
match_candidatesobject[]
created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 2 revisions of this API.