summaryrefslogtreecommitdiff
path: root/docs/faq.rst
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-05-15 18:20:01 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-05-15 18:21:19 +0200
commitdcf71a0290a3af14ae2f0eee70a2776eb29d9dc2 (patch)
tree16029ed5197ed207e458f66af7192a01790a7dd3 /docs/faq.rst
parentf35c73e50918e4d55b70323669f394e52e75cde9 (diff)
downloadgitlab-fix/all-pages-consumes-all-param.tar.gz
fix(api): add all_pages param to allow passing `all` to APIfix/all-pages-consumes-all-param
Diffstat (limited to 'docs/faq.rst')
-rw-r--r--docs/faq.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 0f914ed..834420d 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -36,3 +36,8 @@ I get an ``AttributeError`` when accessing attributes after ``save()`` or ``refr
You are most likely trying to access an attribute that was not returned
by the server on the second request. Please look at the documentation in
:ref:`object_attributes` to see how to avoid this.
+
+I passed ``all=True`` (or ``--all`` via the CLI) to the API and I still cannot see all items returned.
+ In some cases, API endpoints take an ``all`` parameter that conflicts with python-gitlab's
+ own ``all`` used with pagination. Use ``all_pages=True`` (or ``--all-pages`` via the CLI) along
+ with ``all=True`` to really fetch all items in this case. See :ref:`pagination` for more details.