From df974814fbbbf8f088f6bb480344cfdfcec6c1b2 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 7 Feb 2017 17:42:37 +0200 Subject: Add nested groups to the API Signed-off-by: Dmitriy Zaporozhets --- lib/api/groups.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/api/groups.rb') 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 -- cgit v1.2.1