diff options
| author | Robert Speicher <robert@gitlab.com> | 2017-06-29 16:36:22 +0000 |
|---|---|---|
| committer | Robert Speicher <robert@gitlab.com> | 2017-06-29 16:36:22 +0000 |
| commit | 066a6c8ba8900f0883ee788d901d300850b1ae61 (patch) | |
| tree | d84020e3dbf166a993b9aaad06dbe188e429750c /doc/api | |
| parent | 5a983ac431affc800d5e9db9e83c14710ec29c36 (diff) | |
| parent | 289fae78e971e117e69fb87602f5f6284419b863 (diff) | |
| download | gitlab-ce-066a6c8ba8900f0883ee788d901d300850b1ae61.tar.gz | |
Merge branch '34078-allow-to-enable-feature-flags-with-more-granularity' into 'master'
Allow the feature flags to be enabled/disabled with more granularity
Closes #34078
See merge request !12357
Diffstat (limited to 'doc/api')
| -rw-r--r-- | doc/api/features.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/features.md b/doc/api/features.md index 89b8d3ac948..558869255cc 100644 --- a/doc/api/features.md +++ b/doc/api/features.md @@ -58,6 +58,10 @@ POST /features/:name | --------- | ---- | -------- | ----------- | | `name` | string | yes | Name of the feature to create or update | | `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 | + +Note that `feature_group` and `user` are mutually exclusive. ```bash curl --data "value=30" --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/features/new_library |
