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
path: root/doc/api
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2019-02-19 10:50:55 +0300
committerJames Lopez <james@gitlab.com>2019-02-19 10:50:55 +0300
commit5ff775fdef99eeec1f25bea7baf5480fa402f714 (patch)
treed7f9b148101af6690214989fa33d0bcd0cf301e9 /doc/api
parent503061217e010e74d155464be7dfd8e9754776db (diff)
parent46f66c7f0aa5ddf2f8d996880936d88e6977f6c0 (diff)
Merge branch 'jej/feature-gates-can-be-set-by-group-path' into 'master'
Allow setting feature flags per GitLab group See merge request gitlab-org/gitlab-ce!25022
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/features.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/features.md b/doc/api/features.md
index 47f104e1f20..6ecd4ec14b9 100644
--- a/doc/api/features.md
+++ b/doc/api/features.md
@@ -60,10 +60,11 @@ POST /features/:name
| `value` | integer/string | yes | `true` or `false` to enable/disable, or an integer for percentage of time |
| `feature_group` | string | no | A Feature group name |
| `user` | string | no | A GitLab username |
+| `group` | string | no | A GitLab group's path, for example 'gitlab-org' |
| `project` | string | no | A projects path, for example 'gitlab-org/gitlab-ce' |
Note that you can enable or disable a feature for a `feature_group`, a `user`,
-and a `project` in a single API call.
+a `group`, and a `project` in a single API call.
```bash
curl --data "value=30" --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/features/new_library