aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 22:25:47 +0000
committertv <tv@krebsco.de>2026-11-16 23:32:53 +0100
commit18387cb68094b167a30371b62beda93627c2c467 (patch)
tree9320bcdf1b44ca513f0eedb41f55d1b201db83d5 /src/access/mod.rs
parentc77f4a88dfd0f4ed423951da6535244aea4a0fa1 (diff)
api: a vote by hand, through the node that votes for its party
A party that has a node vote by itself votes by hand only through that node, which keeps its one record (`docs/federation.md`, Votes a node casts by itself): `POST /admin/events/vote`, `{"proposal": <hash>, "yes": <bool>}`, by the record and, with a `true`, by the voters' rule; signed with the party's key the node keeps, recorded, and put. Refused (`422`) where the record or the rule forbids it, or the node votes for no party. Putting an event through the API puts it into the document as the node's own votes are put (`held::write`).
Diffstat (limited to 'src/access/mod.rs')
0 files changed, 0 insertions, 0 deletions