News
Update a curated news article
Updates an existing curated news article. If a new URL is provided and differs from the current one, the article metadata is re-fetched from the URL. Requires edit news permission.
put/api/news/article/{id}
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 identifier
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
Response
Article updated successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.