<div dir="ltr">Tim, <div><br></div><div>Thanks for all the info!</div><div><br></div><div>Cheers, Scott</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 12:37 AM, Tim Robertson <span dir="ltr">&lt;<a href="mailto:trobertson@gbif.org" target="_blank">trobertson@gbif.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Thanks Scott, confirmed<div><br></div><div>You can see the limit is capped (e.g. reset) to 1000 if you go above: <a href="http://api.gbif.org/v1/species/search?q=a&amp;limit=1010" target="_blank">http://api.gbif.org/v1/species/search?q=a&amp;limit=1010</a></div><div><br></div><div>It should be added to docs as what is on <a href="http://www.gbif.org/developer/summary#common" target="_blank">http://www.gbif.org/developer/summary#common</a> is not clear enough.  </div><div><br></div><div>I’ve filed an issue <a href="http://dev.gbif.org/issues/browse/PF-1805" target="_blank">http://dev.gbif.org/issues/browse/PF-1805</a> which will be picked up at some point.</div><div><br></div><div>In the meantime, I am afraid you will have to hit the services with a high limit, and see how it behaves, but you should code defensively in any iterating clients and read the actual limit used - this is how all the Java clients work.  </div><div><br></div><div>Thinking aloud: It is also something that I could imagine might change over time, depending on observed infrastructure load.  You might find the docs simply become something like </div><div>“All services provide a ceiling on the Limit parameter, which is typically 100, 1000 or 10000 but is subject to change over time.  Application developers are required to code defensively, and read the actual limit used which is returned in each response to accurately page over resources.  A sensible default for all calls is 1000”.</div><div><br></div><div>I hope this helps,</div><div>Tim</div><div><br></div><div><br></div><div><br><div><div><div class="h5"><div>On 10 Oct 2014, at 01:07, Scott Chamberlain &lt;<a href="mailto:myrmecocystus@gmail.com" target="_blank">myrmecocystus@gmail.com</a>&gt; wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Hello, <div><br></div><div>Is the max value 1000 for the limit parameter for /species endpoints?  If so, I don&#39;t think this is documented anywhere.  </div><div><br></div><div>Cheers, Scott</div></div></div></div>
_______________________________________________<br>API-users mailing list<br><a href="mailto:API-users@lists.gbif.org" target="_blank">API-users@lists.gbif.org</a><br><a href="http://lists.gbif.org/mailman/listinfo/api-users" target="_blank">http://lists.gbif.org/mailman/listinfo/api-users</a><br></blockquote></div><br></div></div></blockquote></div><br></div>