You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/03/22 17:35:28 UTC
svn commit: r1668404 - in /steve/trunk/pytest: REST_API_README.txt steve.cfg
Author: humbedooh
Date: Sun Mar 22 16:35:28 2015
New Revision: 1668404
URL: http://svn.apache.org/r1668404
Log:
fix sample config, update rest doc
Modified:
steve/trunk/pytest/REST_API_README.txt
steve/trunk/pytest/steve.cfg
Modified: steve/trunk/pytest/REST_API_README.txt
URL: http://svn.apache.org/viewvc/steve/trunk/pytest/REST_API_README.txt?rev=1668404&r1=1668403&r2=1668404&view=diff
==============================================================================
--- steve/trunk/pytest/REST_API_README.txt (original)
+++ steve/trunk/pytest/REST_API_README.txt Sun Mar 22 16:35:28 2015
@@ -163,7 +163,25 @@ Deleting a candidate to the issue:
"message": "Changes saved"
}
+=================================
+Obtaining a voter ID for peeking:
+=================================
+/steve/admin/temp/$electionid
+ POST
+ input:
+ none
+
+ output:
+ HTTP 200 Voter ID issued
+ HTTP 403 Not enough karma
+ HTTP 404 Not Found if no such election
+ HTTP 500 on error
+ response payload:
+ JSON formatted
+ {
+ "id": "oigwhhsgoih8ewr8gye58or"
+ }
Modified: steve/trunk/pytest/steve.cfg
URL: http://svn.apache.org/viewvc/steve/trunk/pytest/steve.cfg?rev=1668404&r1=1668403&r2=1668404&view=diff
==============================================================================
--- steve/trunk/pytest/steve.cfg (original)
+++ steve/trunk/pytest/steve.cfg Sun Mar 22 16:35:28 2015
@@ -10,6 +10,6 @@ monitorperson: 3
[email]
-sender: no-reply@steve.apache.org
+sender: no-reply@stv.website
signature: Apache STEVe
mta: localhost