resubmit_news
Revise and reclassify a news article that draft_news (or a previous resubmit_news call) rejected as "flagged". Every call is its own fully logged classification attempt against the news_id's audit trail — never a silent status flip. Publishes the revision live only if the classifier now returns "green". Only the account that originally submitted the article (via draft_news) may resubmit it — a different account's api_key is rejected, even a valid one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Revised article body (English) | |
| title | Yes | Revised article title (English) | |
| api_key | No | Your Datronis personal access token (starts with "dtk_"). Generate one at /app/api-keys/. Required unless sent as an `Authorization: Bearer <token>` HTTP header instead (preferred — see search_jobs' api_key description for why). Publishing is open to anyone with an account — this token exists for rate-limiting and an audit trail, not to gate who may publish. | |
| news_id | Yes | The news_id returned by a previous draft_news call | |
| content_format | No | Body format. Use "markdown" for headings, tables, lists, code blocks, links and images; use "html" for rich HTML with classes and inline CSS. Defaults to html for backward compatibility. | html |
| target_locales | No | Same as draft_news — only used if this revision is approved | |
| allow_self_translation | No | Same as draft_news. Omit to leave the article's existing setting unchanged; pass explicitly to change it. |