diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-08 12:09:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-08 12:09:41 +0300 |
commit | 707742e59ca57d1f2ea00d65fa35a7b9a5ded398 (patch) | |
tree | 8dcb287cd941eab2acf6d62de519d1e915686175 /doc/api/feature_flags_legacy.md | |
parent | a0834ebcaa12d126a20e07b6502121e1dc58c9b9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/feature_flags_legacy.md')
-rw-r--r-- | doc/api/feature_flags_legacy.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/feature_flags_legacy.md b/doc/api/feature_flags_legacy.md index eae4dbc36e1..8a5af39a37f 100644 --- a/doc/api/feature_flags_legacy.md +++ b/doc/api/feature_flags_legacy.md @@ -36,7 +36,7 @@ GET /projects/:id/feature_flags | `scope` | string | no | The condition of feature flags, one of: `enabled`, `disabled`. | ```shell -curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/1/feature_flags +curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/feature_flags" ``` Example response: @@ -174,7 +174,7 @@ POST /projects/:id/feature_flags | `scopes:strategies` | JSON | no | The [strategies](../operations/feature_flags.md#feature-flag-strategies) of the feature flag spec. | ```shell -curl https://gitlab.example.com/api/v4/projects/1/feature_flags \ +curl "https://gitlab.example.com/api/v4/projects/1/feature_flags" \ --header "PRIVATE-TOKEN: <your_access_token>" \ --header "Content-type: application/json" \ --data @- << EOF @@ -244,7 +244,7 @@ GET /projects/:id/feature_flags/:name | `name` | string | yes | The name of the feature flag. | ```shell -curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/1/feature_flags/new_live_trace +curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/feature_flags/new_live_trace" ``` Example response: @@ -320,5 +320,5 @@ DELETE /projects/:id/feature_flags/:name | `name` | string | yes | The name of the feature flag. | ```shell -curl --header "PRIVATE-TOKEN: <your_access_token>" --request DELETE https://gitlab.example.com/api/v4/projects/1/feature_flags/awesome_feature +curl --header "PRIVATE-TOKEN: <your_access_token>" --request DELETE "https://gitlab.example.com/api/v4/projects/1/feature_flags/awesome_feature" ``` |