Election information
Get full election information
Path Parameters
- electionID string required
Election id
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
census object
censusOrigin stringcensusRoot stringcensusURL stringmaxCensusSize integerpostRegisterCensusRoot string- chainId string
- creationTime string
- electionId string
electionMode object
autoStart booleandynamicCensus booleanencryptedMetaData booleaninterruptible booleanpreRegister boolean- endDate string
- finalResults boolean
- fromArchive boolean
- manuallyEnded boolean
metadata object
description object
property name*
stringmedia object
header stringstreamUri stringmetaquestions object[]
choices object[]
title object
property name*
stringvalue integerdescription object
property name*
stringtitle object
property name*
stringtitle object
property name*
stringtype object
name stringpropertiesversion string- metadataURL string
- organizationId string
- result array[]
- startDate string
- status string
tallyMode object
costExponent integermaxCount integermaxTotalCost integermaxValue integermaxVoteOverwrites integer- voteCount integer
voteMode object
anonymous booleancostFromWeight booleanencryptedVotes booleanserial booleanuniqueValues boolean
{
"census": {
"censusOrigin": "string",
"censusRoot": "string",
"censusURL": "string",
"maxCensusSize": 0,
"postRegisterCensusRoot": "string"
},
"chainId": "string",
"creationTime": "string",
"electionId": "string",
"electionMode": {
"autoStart": true,
"dynamicCensus": true,
"encryptedMetaData": true,
"interruptible": true,
"preRegister": true
},
"endDate": "string",
"finalResults": true,
"fromArchive": true,
"manuallyEnded": true,
"metadata": {
"description": {},
"media": {
"header": "string",
"streamUri": "string"
},
"meta": {},
"questions": [
{
"choices": [
{
"title": {},
"value": 0
}
],
"description": {},
"title": {}
}
],
"title": {},
"type": {
"name": "string",
"properties": {}
},
"version": "string"
},
"metadataURL": "string",
"organizationId": "string",
"result": [
[
{}
]
],
"startDate": "string",
"status": "string",
"tallyMode": {
"costExponent": 0,
"maxCount": 0,
"maxTotalCost": 0,
"maxValue": 0,
"maxVoteOverwrites": 0
},
"voteCount": 0,
"voteMode": {
"anonymous": true,
"costFromWeight": true,
"encryptedVotes": true,
"serial": true,
"uniqueValues": true
}
}
Loading...
Was this helpful?