summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-05-24 08:20:41 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-05-24 08:20:41 +0200
commitf2b94a7f2cef6ca7d5e6d87494ed3e90426d8d2b (patch)
treec01ea39ab979dd8088737b2ded3806a4d3f71799 /docs/cli.rst
parent627a6aa0620ec53dcb24a97c0e584d01dcc4d07f (diff)
downloadgitlab-f2b94a7f2cef6ca7d5e6d87494ed3e90426d8d2b.tar.gz
Add v4 support to docs
Diffstat (limited to 'docs/cli.rst')
-rw-r--r--docs/cli.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cli.rst b/docs/cli.rst
index 8b79d78..6730c9b 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -36,10 +36,12 @@ The configuration file uses the ``INI`` format. It contains at least a
default = somewhere
ssl_verify = true
timeout = 5
+ api_version = 3
[somewhere]
url = https://some.whe.re
private_token = vTbFeqJYCY3sibBP7BZM
+ api_version = 4
[elsewhere]
url = http://else.whe.re:8080
@@ -78,6 +80,8 @@ section.
- URL for the GitLab server
* - ``private_token``
- Your user token. Login/password is not supported.
+ * - ``api_version``
+ - API version to use (``3`` or ``4``), defaults to ``3``
* - ``http_username``
- Username for optional HTTP authentication
* - ``http_password``