Crossed wires with you here, Alan. I'm going to stand down and let you edit away, sorry about that.
Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Apache Wiki <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Sunday, June 9, 2013 9:38 PM To: Apache Wiki <[email protected]> Subject: [Steve Wiki] Update of "SteveRESTAPI" by ChrisMattmann >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
