made by VocPrez  2.0

EarthResourceML Vocabularies

The EarthResourceML standard


Alternates Profiles

Different views of and formats:

Automated Pagination (more)

To page through these items, use query string arguments 'page' and 'per_page'.

HTTP Link headers of first, prev, next & last are given in web responses.

Example: assuming 500 items, page 7, of 50 per page, is given by:

Link header with a response assuming 500 items would be:

Link:   <> rel="first",
<> rel="prev",
<> rel="next",
<> rel="last"

If you want to page through the whole collection, start at first and follow link headers until you reach last or until no last is given. You shouldn't try to calculate each page query string argument yourself.