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 18:50:08 UTC

svn commit: r1668425 - /steve/trunk/pytest/REST_API_README.txt

Author: humbedooh
Date: Sun Mar 22 17:50:07 2015
New Revision: 1668425

URL: http://svn.apache.org/r1668425
Log:
update rest doc

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=1668425&r1=1668424&r2=1668425&view=diff
==============================================================================
--- steve/trunk/pytest/REST_API_README.txt (original)
+++ steve/trunk/pytest/REST_API_README.txt Sun Mar 22 17:50:07 2015
@@ -59,7 +59,8 @@ Creating an issue in an election:
           title: Title of the issue
           description: (optional) Description of the issue
           type: type of issue (yna, stv[1-9])
-          candidates: (if stv[1-9]) \n separated list of candidate names
+          candidates: (if stv[1-9]) \n separated list of candidate names or JSON array
+          statements: (if stv[1-9]) \n separated list of statements or JSON array
           nominatedby: (if YNA) Person to nominate this issue
           seconds: (if YNA) \n separated list of seconds for the issue
           
@@ -84,7 +85,8 @@ Editing an issue in an election:
           title: Title of the issue (optional)
           description: (optional) Description of the issue (optional)
           type: type of issue (yna, stv[1-9]) (optional)
-          candidates: (if stv[1-9]) \n separated list of candidate names (optional)
+          candidates: (if stv[1-9]) \n separated list of candidate names or JSON array
+          statements: (if stv[1-9]) \n separated list of statements or JSON array
           nominatedby: (if YNA) Person to nominate this issue (optional)
           seconds: (if YNA) \n separated list of seconds for the issue (optional)