Get information about an election.

Parameters

tags all (returns all tags). By default, returns only root tags.

EXAMPLE

http://voxe.org/api/v1/elections/4ef479f8bc60fb0004000001

Try

Search for elections.

Parameters

published all
limit 10
offset 50

EXAMPLE

http://voxe.org/api/v1/elections/search

Try

Create an election.

Parameters

election[name] Election Présidentielle 2012
election[namespace] electionpresidentielle2012
election[published] false (default)

EXAMPLE

http://voxe.org/api/v1/elections

Update an election.

Parameters

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

Parameters

tagId 4f0a16e356cc600ad6000002
parentTagId (optional) 4f0a16e556cc600ad6000248

EXAMPLE

http://voxe.org/api/v1/elections/4ed1cb0203ad190006000001/addtag

Remove a tag on an election

Parameters

tagId 4f0a16e356cc600ad6000002

EXAMPLE

http://voxe.org/api/v1/elections/4ed1cb0203ad190006000001/removetag

Try

Add a candidacy on an election

Parameters

candidateIds 4f0a16e356cc600ad6000002,4f0a16e356cc600ad6000003

EXAMPLE

http://voxe.org/api/v1/elections/4ed1cb0203ad190006000001/addcandidacy

Add a contributor to an election.

Parameters

userId 4f0c50dd18c8e80004000001

EXAMPLE

http://voxe.org/api/v1/elections/4f0c50dd18c8e80004000001/addcontributor

Add an ambassador to an election.

Parameters

userId 4f0c50dd18c8e80004000001

EXAMPLE

http://voxe.org/api/v1/elections/4f0c50dd18c8e80004000001/addambassador