1,554
edits
(add paging →GET /v1/recordsets) |
(add paging →GET /v1/recordsets/{UUID}/mediarecords) |
||
Line 1,002: | Line 1,002: | ||
</pre> | </pre> | ||
The next "page" of records can be requested by adding the "offset" parameter, which is already provided in the "links" section of the returned data: | |||
<pre> | |||
"idigbio:links" : { | |||
"idigbio:nextPage" : "http://api.idigbio.org/v1/recordsets/7a8d946d-083f-4d2a-9cc9-cd590398194f/mediarecords?limit=1&offset=1" | |||
}, | |||
</pre> | |||
More thorough examples of using the nextPage and prevPage links as well as "offset" and "limit" are in [[iDigBio API Examples]]. | |||
''DO NOT expect to be able to page through the entire iDigBio data this way. See [[iDigBio API Performance]] if you find yourself trying to page through large amounts of data.'' | |||
[[#toc|Back to contents]] | [[#toc|Back to contents]] |
edits