20 Dec
2014
20 Dec
'14
08:59
Hi,
I tried
http://api.gbif.org/v1/species/search?q=Puma&rank=GENUS&limit=20&...
which returns JSON starting with
{"offset":0,"limit":20,"endOfRecords":false,"count":50,"results":[
I expect that there are 50 records to be returend against the query. Howerver,
http://api.gbif.org/v1/species/search?q=Puma&rank=GENUS&limit=60&...
returns 50 records as expected, but it says as
{"offset":0,"limit":50,"endOfRecords":false,"count":50,"results":[
Shouldn't it be true, if the returned fragment represents end of records? Or, shoud I check not only endOfRecords but also (limit > 0 && (offset + limit) < count) ? -- James