Author: humbedooh
Date: Fri Mar 20 12:07:03 2015
New Revision: 1667992

URL: http://svn.apache.org/r1667992
Log:
update readme

Modified:
    steve/trunk/pytest/REST_API_README.txt

Modified: steve/trunk/pytest/REST_API_README.txt
URL: 
http://svn.apache.org/viewvc/steve/trunk/pytest/REST_API_README.txt?rev=1667992&r1=1667991&r2=1667992&view=diff
==============================================================================
--- steve/trunk/pytest/REST_API_README.txt (original)
+++ steve/trunk/pytest/REST_API_README.txt Fri Mar 20 12:07:03 2015
@@ -178,9 +178,10 @@ Viewing election and issues:
 /steve/voter/view/$electionid
   GET
     input:
-      none
+      uid: Voter hash
     output:
       HTTP 200 Okay if election exists
+      HTTP 403 Forbidden if voter hash missing or invalid
       HTTP 404 Not Found if no such election
     response payload:
       JSON formatted
@@ -238,10 +239,11 @@ Viewing a single issue:
 /steve/voter/view/$electionid/$issueid
   GET
     input:
-      none
+      uid: Voter hash
     output:
       HTTP 200 Okay if issue exists
       HTTP 404 Not Found if no such election/issue
+      HTTP 403 Forbidden if voter hash missing or invalid
     response payload:
       JSON formatted
         {


Reply via email to