summaryrefslogtreecommitdiff
path: root/lib/api/groups.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-07 17:42:37 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-08 12:42:34 +0200
commitdf974814fbbbf8f088f6bb480344cfdfcec6c1b2 (patch)
treed519ef0a930ed65b86b2ee39857772611a271e01 /lib/api/groups.rb
parent99fceff4f9e98cc7cb725882abec6e5b7c9b0170 (diff)
downloadgitlab-ce-df974814fbbbf8f088f6bb480344cfdfcec6c1b2.tar.gz
Add nested groups to the APIdz-nested-groups-api
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api/groups.rb')
-rw-r--r--lib/api/groups.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb
index 7682d286866..077db9a458a 100644
--- a/lib/api/groups.rb
+++ b/lib/api/groups.rb
@@ -73,6 +73,7 @@ module API
params do
requires :name, type: String, desc: 'The name of the group'
requires :path, type: String, desc: 'The path of the group'
+ optional :parent_id, type: Integer, desc: 'The parent group id for creating nested group'
use :optional_params
end
post do