To paginate these Surveys, use the query string arguments 'page' for the page number and 'per_page' for the number of surveys per page. HTTP
Link headers of
last are given to indicate URIs to the first, a previous, a next and the last page.
Assuming 500 surveys, this request would result in a response with the following Link header:
Link: <http://example.com/?per_page=50> rel="first", <http://example.com/?per_page=50&page=6> rel="prev", <http://example.com/?per_page=50&page=8> rel="next", <http://example.com/?per_page=50&page=10> rel="last"
If you want to page throught he 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.
Different views of this register of objects are listed at its Alternate views page.