Get information about an election.
| tags | all (returns all tags). By default, returns only root tags. |
EXAMPLE
http://voxe.org/api/v1/elections/4ef479f8bc60fb0004000001
Search for elections.
| published | all |
| limit | 10 |
| offset | 50 |
EXAMPLE
http://voxe.org/api/v1/elections/search
Create an election.
| election[name] | Election Présidentielle 2012 |
| election[namespace] | electionpresidentielle2012 |
| election[published] | false (default) |
EXAMPLE
http://voxe.org/api/v1/elections
Update an election.
| election[name] | Election Présidentielle 2012 |
| election[namespace] | electionpresidentielle2012 |
| election[published] | false |
EXAMPLE
http://voxe.org/api/v1/elections/4ed1cb0203ad190006000001
Add a tag on an election
| tagId | 4f0a16e356cc600ad6000002 |
| parentTagId (optional) | 4f0a16e556cc600ad6000248 |
EXAMPLE
http://voxe.org/api/v1/elections/4ed1cb0203ad190006000001/addtag
Remove a tag on an election
| tagId | 4f0a16e356cc600ad6000002 |
EXAMPLE
http://voxe.org/api/v1/elections/4ed1cb0203ad190006000001/removetag
Add a candidacy on an election
| candidateIds | 4f0a16e356cc600ad6000002,4f0a16e356cc600ad6000003 |
EXAMPLE
http://voxe.org/api/v1/elections/4ed1cb0203ad190006000001/addcandidacy
Add a contributor to an election.
| userId | 4f0c50dd18c8e80004000001 |
EXAMPLE
http://voxe.org/api/v1/elections/4f0c50dd18c8e80004000001/addcontributor
Add an ambassador to an election.
| userId | 4f0c50dd18c8e80004000001 |
EXAMPLE
http://voxe.org/api/v1/elections/4f0c50dd18c8e80004000001/addambassador