Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Rosenögger <123haynes@gmail.com>2015-10-28 17:13:35 +0300
committerHannes Rosenögger <123haynes@gmail.com>2015-10-28 17:13:35 +0300
commite808c69629a64673e7756a6afae77d376cfe6ddc (patch)
tree41b55af82cf40cc8fdd7ac780de25de775a84d24
parentf66ec1bc8157e5481ba23660b226267293c85129 (diff)
fixed an error in the pagination doc of the apifix_api_pagination_doc
-rw-r--r--doc/api/README.md2
1 files changed, 1 insertions, 1 deletions
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.