summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2019-02-07 20:27:03 +0000
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2019-02-19 14:57:03 +0800
commit46f66c7f0aa5ddf2f8d996880936d88e6977f6c0 (patch)
tree92b9eea7e05202549d8fb47ac014930dc3a6acdd /doc
parent82423ac34ac90e3ff3443495a14af0105feff67d (diff)
downloadgitlab-ce-46f66c7f0aa5ddf2f8d996880936d88e6977f6c0.tar.gz
Allow setting feature flags per GitLab group
Building on support for setting feature flags by project, this adds support for setting them by GitLab group path. This is different from setting them by Flipper feature_groups, which are for batch updating pre-registered collections.
Diffstat (limited to 'doc')
-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