diff options
author | Cédric Couralet | 2018-07-30 13:47:09 +0000 |
---|---|---|
committer | Cédric Couralet | 2018-07-31 08:36:56 +0000 |
commit | 66d374b1289e6dd33008dc931e9fb642051724d0 (patch) | |
tree | 4801a08657d2a0fd04c03a3ed46440e221f0ae23 /config.json.example | |
parent | 93a3ce1164f69af24381c94b941048580891e1b8 (diff) |
Add possibility to choose between version v3 or v4 for the gitlab api.
Apart from the uri versioning, one big change is the snippet visibility post data (visibility_level -> visibility)
Default gitlab api version to v4
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
Diffstat (limited to 'config.json.example')
-rw-r--r-- | config.json.example | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.json.example b/config.json.example index 1f2ec3d5..16c95509 100644 --- a/config.json.example +++ b/config.json.example @@ -55,7 +55,8 @@ "baseURL": "change this", "clientID": "change this", "clientSecret": "change this", - "scope": "use 'read_user' scope for auth user only or remove this property if you need gitlab snippet import/export support (will result to be default scope 'api')" + "scope": "use 'read_user' scope for auth user only or remove this property if you need gitlab snippet import/export support (will result to be default scope 'api')", + "version": "use 'v4' if gitlab version > 11, 'v3' otherwise. Default to 'v4'" }, "mattermost": { "baseURL": "change this", |