News
Link brands, agencies, properties or tags to a news article without replacing the list
Adds the given ids to one link list of the article. Ids already linked stay linked, and nothing already on the list is removed — unlike the article PUT, which replaces the whole list.
post/api/news/article/{id}/links
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Curated news article id
Headers
X-Agent-Namestring
Example:News Agent
Name of the agent making the change, for example News Agent. Recorded as created_by_agent / updated_by_agent only when the request carries an agent token; ignored otherwise. At most 100 characters.
Request body
Example request
{
"type": "company",
"ids": [
481
]
}Response
The link list after the change.
Example response
{
"id": 42,
"type": "company",
"linked_ids": [
481
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.