summaryrefslogtreecommitdiff
path: root/docs/api-usage.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2017-12-11 09:12:58 +0100
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2017-12-11 09:12:58 +0100
commitc6c068629273393eaf4f7063e1e01c5f0528c4ec (patch)
treee524ec77f74b90459a60a17dd8d90a7c26a1a241 /docs/api-usage.rst
parent084b905f78046d894fc76d3ad545689312b94bb8 (diff)
downloadgitlab-c6c068629273393eaf4f7063e1e01c5f0528c4ec.tar.gz
Update pagination docs for ProjectCommit
In v3 pagination starts at page 0 instead of page 1. Fixes: #377
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r--docs/api-usage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst
index f60c0dc..81ceeca 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -203,7 +203,7 @@ listing methods support the ``page`` and ``per_page`` parameters:
.. note::
- The first page is page 1, not page 0.
+ The first page is page 1, not page 0, except for project commits in v3 API.
By default GitLab does not return the complete list of items. Use the ``all``
parameter to get all the items when using listing methods: