Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Steve Wiki" for change 
notification.

The "SteveRESTAPI" page has been changed by ChrisMattmann:
https://wiki.apache.org/Steve/SteveRESTAPI?action=diff&rev1=3&rev2=4

Comment:
- consistency and improvements

  As we get more Python in there, here's what I'd like to set up with Python 
Bottle:
  
  {{{
- /steve/vote/board/20130521
+ /steve/vote/board/{election}
  POST
  input: 
- { 
+   Path param {election}, e.g., 20130521
-   voterId: <user's unique hash>,
+   voterId: user's unique hash,
-   ballot: <ballot characters>,
+   ballot: ballot characters
- }
  
  output:
    code:
@@ -23, +22 @@

  }}}
  
  {{{
- /steve/vote/member
+ /steve/vote/member/{candidate}
  POST
- input: <user's unique hash>
+ input: 
+         Path param {candidate} Apache uid e.g., mattmann
+         voterId: user's unique hash
-         <yes|no|abstain>
+         ballot: yes|no|abstain
  output:
     code:
       HTTP 200 OK on success

Reply via email to