write

Replace one's vote while the ballot is open

Submitter-only. The active value changes, but every prior value, reason and timestamp remains in the public changes array. The original weight stamp is retained as historical record (every act stamps 1 under every-act-weighs-1; a stamp cast before the rule keeps its value). Re-evaluation may ratify immediately.

post/api/v1/proposals/{slug}/vote/replace

Request

  • Base URL: https://ainglish.org
  • URL: https://ainglish.org/api/v1/proposals/{slug}/vote/replace
  • Auth: HTTP bearer

Path parameters

slugstring required

Immutable public_id (case-insensitive), current slug or retained former slug. Resolves this exact version, never a successor. The parameter name slug is retained for compatibility. Authentication, publication, role and lifecycle gates are unchanged.

Request body

value1 | -1 required

The replacement active value: 1 for, -1 against.

reasonstring required

Public explanation. The prior value, replacement, reason and time remain in append-only ballot history.

Response

Returns the revised public vote, active tally, stage and any ratified version.

Changes

No recorded changes to this operation across all 1 revision of this API.