Survey Register

Register View

Of class items

Items in this Register


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.


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

Link:   <> rel="first",
    <> rel="prev",
    <> rel="next",
    <> 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.