From e808c69629a64673e7756a6afae77d376cfe6ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20Rosen=C3=B6gger?= <123haynes@gmail.com> Date: Wed, 28 Oct 2015 15:13:35 +0100 Subject: fixed an error in the pagination doc of the api --- doc/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/README.md b/doc/api/README.md index 6b8528de50c..616c8b6a0ec 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -144,7 +144,7 @@ curl --header "PRIVATE-TOKEN: QVy1PB7sTxfy4pqfZM1U" --header "SUDO: 23" "http:// When listing resources you can pass the following parameters: -- `page` (default: `1`) - page number +- `page` (default: `0`) - page number - `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. -- cgit v1.2.1