-
Notifications
You must be signed in to change notification settings - Fork 0
thirdcreed edited this page Jan 3, 2015
·
6 revisions
##Election
Adds an election specified at :election ###GET /election/:election/score/:rule Scores an election according to :rule Response
{
rank: {
"a": 1,
"b": 2,
"c": 3,
"d": 4
},
additionalInfo: {
...
}
}
Add a vote for to an election :election user :user
Request
["a","b","c"]
Add the names of the alternatives for an election
Request ["a","b","c"] ##User ###POST /user/:user Adds a user
Request
{
name:name,
groups:[],
otherStuff:{}
}