Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-07 18:42:37 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-08 13:42:34 +0300
commitdf974814fbbbf8f088f6bb480344cfdfcec6c1b2 (patch)
treed519ef0a930ed65b86b2ee39857772611a271e01 /lib/api/groups.rb
parent99fceff4f9e98cc7cb725882abec6e5b7c9b0170 (diff)
Add nested groups to the 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