diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-21 16:49:51 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-27 18:59:51 +0200 |
commit | b4d325c80c63ee9ee2676a57a42fac472b5b20d5 (patch) | |
tree | 15e4dea85ab1ae5538ffe35d0c9b0ee2dbfcaadc /doc/api/features.md | |
parent | cc50decab5b22628eafb6636b3e57f99094c7926 (diff) | |
download | gitlab-ce-b4d325c80c63ee9ee2676a57a42fac472b5b20d5.tar.gz |
Allow the feature flags to be enabled/disabled with more granularity
This allows to enable/disable a feature flag for a given user, or a
given Flipper group (must be declared statically in the `flipper.rb`
initializer beforehand).
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/api/features.md')
-rw-r--r-- | doc/api/features.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/features.md b/doc/api/features.md index 89b8d3ac948..0ca2e637614 100644 --- a/doc/api/features.md +++ b/doc/api/features.md @@ -58,6 +58,8 @@ 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 | +| `flipper_group` | string | no | A Flipper group name | +| `user` | string | no | A GitLab username | ```bash curl --data "value=30" --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/features/new_library |