summaryrefslogtreecommitdiff
path: root/docs/api-usage.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-09-04 16:36:34 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-09-04 16:36:34 +0200
commitccf0c2ad35d4dd1af4f36e411027286a0be0f49f (patch)
treeebaaab5b5f56d784d4998b1f230916352aad6d8c /docs/api-usage.rst
parentd8c2488a7b32e8f4a36109c4a4d6d4aad7ab8942 (diff)
downloadgitlab-ccf0c2ad35d4dd1af4f36e411027286a0be0f49f.tar.gz
[docs] Fix the owned/starred usage documentation
Closes #579
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 fa6e0b0..44df385 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -187,7 +187,7 @@ parameter to get all the items when using listing methods:
.. code-block:: python
all_groups = gl.groups.list(all=True)
- all_owned_projects = gl.projects.owned(all=True)
+ all_owned_projects = gl.projects.list(owned=True, all=True)
You can define the ``per_page`` value globally to avoid passing it to every
``list()`` method call: