Site Register

Register View

Of http://pid.geoscience.gov.au/def/ont/ga/pdm#Site class items

Items in this Register

Paging

Alternate views

Different views of this register are listed at its Alternate views page.

Automated Pagination

To page through these items, use the query string arguments 'page' for the page number and 'per_page' for the number of items per page. HTTP Link headers of first, prev, next & last indicate URIs to the first, a previous, a next and the last page.

Example:

http://13.237.201.185/site/ga/?page=7&per_page=50
                    

Assuming 500 items, this request would result in a response with the following Link header:

Link:   <http://13.237.201.185/site/ga/?per_page=50> rel="first",
    <http://13.237.201.185/site/ga/?per_page=50&page=6> rel="prev",
    <http://13.237.201.185/site/ga/?per_page=50&page=8> rel="next",
    <http://13.237.201.185/site/ga/?per_page=50&page=10> rel="last"
                    

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