Skip to main content
GET
Get a test election

Path Parameters

electionId
string<uuid>
required

The election's id.

Response

The election and its results.

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
name
string
required
kind
string
required
Allowed value: "test_election"
binding
boolean
required
status
enum<string>
required
Available options:
open,
upcoming,
closed
startsAt
string<date-time>
required

ISO 8601 timestamp, UTC.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
endsAt
string<date-time>
required

ISO 8601 timestamp, UTC.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
ballotMode
enum<string>
required

tally: counted as ballots arrive. sealed: encrypted ballots, counted after the close.

Available options:
tally,
sealed
resultsAvailable
boolean
required
ballotsCast
integer | null
required

While open, the only figure published is this total; per-party results appear only after the close.

Required range: -9007199254740991 <= x <= 9007199254740991
url
string<uri>
required
note
string
required
Allowed value: "The World Republic's own test election: experimental and non-binding, not a public election. It confers no public office, mandate or authority. Its result decides how the platform divides that election's party subsidies."
eligibleVoters
integer | null
required

Verified citizens who could vote: live while open, frozen at the close.

Required range: -9007199254740991 <= x <= 9007199254740991
results
object[]
required

Every party's votes. Empty until results are available.