diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-02-09 11:31:43 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-02-09 11:31:43 +0300 |
commit | 3d20670058eba11b470bfd318a4842197b3bb122 (patch) | |
tree | 686b3485575f82fd5d1835ab64531dcf293571c5 /lib/api/groups.rb | |
parent | 62870a0e50ddbcdb0a0536e5523c17886c8f7022 (diff) | |
parent | df974814fbbbf8f088f6bb480344cfdfcec6c1b2 (diff) |
Merge branch 'dz-nested-groups-api' into 'master'
Nested groups API
See merge request !9034
Diffstat (limited to 'lib/api/groups.rb')
-rw-r--r-- | lib/api/groups.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb index 50dadd94b04..5c132bdd6f9 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 |