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:
Diffstat (limited to 'lib/api/groups.rb')
-rw-r--r--lib/api/groups.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb
index 1a2314d41f0..2efdfe109f7 100644
--- a/lib/api/groups.rb
+++ b/lib/api/groups.rb
@@ -26,6 +26,7 @@ module API
optional :sort, type: String, values: %w[asc desc], default: 'asc', desc: 'Sort by asc (ascending) or desc (descending)'
optional :min_access_level, type: Integer, values: Gitlab::Access.all_values, desc: 'Minimum access level of authenticated user'
optional :top_level_only, type: Boolean, desc: 'Only include top level groups'
+ use :optional_group_list_params_ee
use :pagination
end
@@ -36,6 +37,7 @@ module API
:custom_attributes,
:owned, :min_access_level,
:include_parent_descendants,
+ :repository_storage,
:search
)
@@ -322,7 +324,7 @@ module API
# TODO: Set higher urgency after resolving https://gitlab.com/gitlab-org/gitlab/-/issues/211498
get ":id/projects", feature_category: :groups_and_projects, urgency: :low do
finder_options = {
- only_owned: !params[:with_shared],
+ exclude_shared: !params[:with_shared],
include_subgroups: params[:include_subgroups],
include_ancestor_groups: params[:include_ancestor_groups]
}