diff options
Diffstat (limited to 'lib/api/features.rb')
-rw-r--r-- | lib/api/features.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/features.rb b/lib/api/features.rb index 398e57794c8..bff2817a2ec 100644 --- a/lib/api/features.rb +++ b/lib/api/features.rb @@ -5,6 +5,7 @@ module API before { authenticated_as_admin! } feature_category :feature_flags + urgency :low helpers do def gate_value(params) @@ -69,12 +70,14 @@ module API optional :feature_group, type: String, desc: 'A Feature group name' optional :user, type: String, desc: 'A GitLab username' optional :group, type: String, desc: "A GitLab group's path, such as 'gitlab-org'" + optional :namespace, type: String, desc: "A GitLab group or user namespace path, such as 'gitlab-org'" optional :project, type: String, desc: 'A projects path, like gitlab-org/gitlab-ce' optional :force, type: Boolean, desc: 'Skip feature flag validation checks, ie. YAML definition' mutually_exclusive :key, :feature_group mutually_exclusive :key, :user mutually_exclusive :key, :group + mutually_exclusive :key, :namespace mutually_exclusive :key, :project end post ':name' do |