Changes

stoney core: REST API

168 bytes added, 12:42, 14 November 2013
/* Pagination */
=== Pagination ===
Responses with multiple items will be limited and paginated to 30 items per default. Further pages can be accessed by appending the <code>page</code> query and the parameter. The number of items to be returned can be raised to a maximum of 100, by specifying the <code>per_page</code> query parameter. For example, to request page number 3 with 40 items per page, a client would send the following GET request:<pre>GET https://api.example.com/users?page=3&per_page=40</pre>
The service returns [http://tools.ietf.org/html/rfc5988#section-6.2.2 official registered link relation types] (<code>next</code>, <code>prev</code>, <code>first</code>, <code>last</code>) for pagination use, within the HTTP [http://tools.ietf.org/html/rfc5988#section-5 Link header field]:
SLB
385
edits