summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-02-04 07:02:55 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2018-02-04 07:02:55 +0100
commit29bd81336828b72a47673c76862cb4b532401766 (patch)
tree52217512d337e8dbb4f2a5671a0d099b3ae9a8e9 /docs
parent1ca30807566ca3ac1bd295516a122cd75ba9031f (diff)
downloadgitlab-29bd81336828b72a47673c76862cb4b532401766.tar.gz
config: support api_version in the global section
Fixes #421
Diffstat (limited to 'docs')
-rw-r--r--docs/cli.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/cli.rst b/docs/cli.rst
index f75a46a..7620349 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -37,7 +37,6 @@ example:
default = somewhere
ssl_verify = true
timeout = 5
- api_version = 3
[somewhere]
url = https://some.whe.re
@@ -69,6 +68,9 @@ parameters. You can override the values in each GitLab server section.
* - ``timeout``
- Integer
- Number of seconds to wait for an answer before failing.
+ * - ``api_version``
+ - ``3`` ou ``4``
+ - The API version to use to make queries. Requires python-gitlab >= 1.3.0.
You must define the ``url`` in each GitLab server section.