News

Manually add an asset to a curated news article (Quick Add)

post/api/news/article/{id}/assets

Request

Path parameters

idinteger required

Request body

item_idinteger required

FK to items; must reference an existing catalog row. Searchable via GET /api/search/asset.

contextstring nullable

Optional free-text note persisted on the asset row.

Example request

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

Response

Asset row created (source=manual, match_status=confirmed)

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.