Skip to content

Commit

Permalink
added batch API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benadida committed Nov 28, 2008
1 parent abb01ec commit c246107
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions static/docs/verification-specs.html
Expand Up @@ -59,15 +59,14 @@ <h2>Accessing Data</h2>
It is recommended that lists of voters with their votes be downloaded in batches of no more than 50, which can be done with an additional URL argument:
</p>

<pre>
http://www.heliosvoting.org/elections/&lt;ELECTION_ID&gt;/voters?with_vote=1&amp;limit=50</pre>
<pre> http://www.heliosvoting.org/elections/&lt;ELECTION_ID&gt;/voters?with_vote=1&amp;limit=50</pre>

<p>
And the next batch can be requested using the <tt>after</tt> parameter:
</p>

<pre>
http://www.heliosvoting.org/elections/&lt;ELECTION_ID&gt;/voters?with_vote=1&amp;after=&lt;PREVIOUS_BATCH_LAST_VOTER_ID&gt;&amp;limit=50</pre>
http://www.heliosvoting.org/elections/&lt;ELECTION_ID&gt;/voters?with_vote=1&amp;after=&lt;PREVIOUS_BATCH_LAST_VOTER_ID&gt;&amp;limit=50</pre>


<p>
Expand Down

0 comments on commit c246107

Please sign in to comment.