Change an entry’s setting
set_entry_settingSet one of an entry’s settings, as the Entry manager’s switches do: who may edit it live (edit_policy: "trusted" | "admin" — "admin" locks it), who may propose changes (propose_policy: "registered" | "trusted" | "admin" | "closed"), protected from the Wikidata sync, history hidden (needs the Hide history permission), kept off Trending, verified, follow this entry’s handle links (follow_links: its handle links are followed as a verified entry’s are), how many accounts its page shows before “Show more” (handles_shown: a whole number, 0 = every account, null = the site-wide rule; use sparingly), or its spotlight rank (a whole number, 0 = none). A Verified change takes an optional message, kept in the audit log. Audited; undo by setting it back. To delete an entry use delete_entry. Dry run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | The entry: its VHID (11 digits), its short name (as in verifiedhandles.org/<short>), or its Wikidata QID (Q42). | |
| value | Yes | ||
| reason | No | Why, for a Verified change (either way), kept in the audit log. Plain words; any other setting keeps none. | |
| dry_run | No | true (the default): write nothing — show the change and the exact request it would send. false: make the change. | |
| setting | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A dry run: what to do next to make the change, in words. | |
| result | No | A real run: the route’s own answer, where the tool adds facts of its own beside it. | |
| confirm | No | A dry run of a change that needs it: the exact target to send back as `confirm` with dry_run: false. | |
| dry_run | No | true: a dry run, which wrote nothing. Absent from a real run. | |
| replayed | No | A real run with an idempotency_key already used for this change: the first call’s answer, given back; nothing was written now. | |
| would_send | No | A dry run: the exact request the real run would send (`method`, `path`, any `headers` such as an Idempotency-Key, and its `body`, `form` or `query`), or the requests, in order. | |
| may_edit_live | No | A dry run of a live edit: whether this key’s account may edit this entry live. | |
| refused_because | No | A dry run the real run would be refused for: why, in words. |