@@ -149,7 +149,30 @@ When listing resources you can pass the following parameters:
...
@@ -149,7 +149,30 @@ When listing resources you can pass the following parameters:
-`page` (default: `1`) - page number
-`page` (default: `1`) - page number
-`per_page` (default: `20`, max: `100`) - number of items to list per page
-`per_page` (default: `20`, max: `100`) - number of items to list per page
[Link headers](http://www.w3.org/wiki/LinkHeader) are send back with each response. These have `rel` prev/next/first/last and contain the relevant URL. Please use these instead of generating your own URLs.
### `Link` header
[Link headers](http://www.w3.org/wiki/LinkHeader) are sent back with each response. These have `rel` prev/next/first/last and contain the relevant URL. Please use these instead of generating your own URLs.
Example of `Link` header (line breaks added for clarity):