article_set_data
Set or update a custom data key on an article. Accepts strings, numbers, booleans, objects, and arrays.
Instructions
Set a single article.data. value (PUT /articles/{id}/data/{key}). To delete a key use article_delete_data. Keys starting with 'internal_' are server-protected and rejected client-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| article_id | Yes | ||
| key | Yes | ||
| value | Yes | New value for article.data.<key>. Any JSON value EXCEPT null — to remove a key, use article_delete_data instead. Nested objects and arrays are stored as-is and round-tripped on read. |