Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Commit 0367aa7

Browse files
committed
2.0.0 automatically generated from c680aa6
1 parent eb66924 commit 0367aa7

33 files changed

+858
-77
lines changed

README.md

+15-6
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ Class | Method | HTTP request | Description
112112
*EnvironmentsApi* | [**postEnvironment**](docs/EnvironmentsApi.md#postenvironment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
113113
*FeatureFlagsApi* | [**deleteFeatureFlag**](docs/FeatureFlagsApi.md#deletefeatureflag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
114114
*FeatureFlagsApi* | [**getFeatureFlag**](docs/FeatureFlagsApi.md#getfeatureflag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
115-
*FeatureFlagsApi* | [**getFeatureFlagStatus**](docs/FeatureFlagsApi.md#getfeatureflagstatus) | **GET** /flag-statuses/{projectKey}/{environmentKey} | Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.
116-
*FeatureFlagsApi* | [**getFeatureFlagStatuses**](docs/FeatureFlagsApi.md#getfeatureflagstatuses) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
115+
*FeatureFlagsApi* | [**getFeatureFlagStatus**](docs/FeatureFlagsApi.md#getfeatureflagstatus) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
116+
*FeatureFlagsApi* | [**getFeatureFlagStatuses**](docs/FeatureFlagsApi.md#getfeatureflagstatuses) | **GET** /flag-statuses/{projectKey}/{environmentKey} | Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.
117117
*FeatureFlagsApi* | [**getFeatureFlags**](docs/FeatureFlagsApi.md#getfeatureflags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
118118
*FeatureFlagsApi* | [**patchFeatureFlag**](docs/FeatureFlagsApi.md#patchfeatureflag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
119119
*FeatureFlagsApi* | [**postFeatureFlag**](docs/FeatureFlagsApi.md#postfeatureflag) | **POST** /flags/{projectKey} | Creates a new feature flag.
@@ -128,6 +128,11 @@ Class | Method | HTTP request | Description
128128
*TeamMembersApi* | [**getMembers**](docs/TeamMembersApi.md#getmembers) | **GET** /members | Returns a list of all members in the account.
129129
*TeamMembersApi* | [**patchMember**](docs/TeamMembersApi.md#patchmember) | **PATCH** /members/{memberId} | Modify a team member by ID.
130130
*TeamMembersApi* | [**postMembers**](docs/TeamMembersApi.md#postmembers) | **POST** /members | Invite new members.
131+
*UserSegmentsApi* | [**deleteUserSegment**](docs/UserSegmentsApi.md#deleteusersegment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
132+
*UserSegmentsApi* | [**getUserSegment**](docs/UserSegmentsApi.md#getusersegment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
133+
*UserSegmentsApi* | [**getUserSegments**](docs/UserSegmentsApi.md#getusersegments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
134+
*UserSegmentsApi* | [**patchUserSegment**](docs/UserSegmentsApi.md#patchusersegment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
135+
*UserSegmentsApi* | [**postUserSegment**](docs/UserSegmentsApi.md#postusersegment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
131136
*UserSettingsApi* | [**getUserFlagSetting**](docs/UserSettingsApi.md#getuserflagsetting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
132137
*UserSettingsApi* | [**getUserFlagSettings**](docs/UserSettingsApi.md#getuserflagsettings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
133138
*UserSettingsApi* | [**putFlagSetting**](docs/UserSettingsApi.md#putflagsetting) | **PUT** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Specifically enable or disable a feature flag for a user based on their key.
@@ -156,24 +161,23 @@ Class | Method | HTTP request | Description
156161
- [CustomRoles](docs/CustomRoles.md)
157162
- [Environment](docs/Environment.md)
158163
- [EnvironmentBody](docs/EnvironmentBody.md)
164+
- [Fallthrough](docs/Fallthrough.md)
159165
- [FeatureFlag](docs/FeatureFlag.md)
160166
- [FeatureFlagBody](docs/FeatureFlagBody.md)
161167
- [FeatureFlagConfig](docs/FeatureFlagConfig.md)
162-
- [FeatureFlagConfig_fallthrough](docs/FeatureFlagConfig_fallthrough.md)
163168
- [FeatureFlagStatus](docs/FeatureFlagStatus.md)
164169
- [FeatureFlagStatuses](docs/FeatureFlagStatuses.md)
165170
- [FeatureFlags](docs/FeatureFlags.md)
166-
- [FlagsprojectKeyfeatureFlagKey_patch](docs/FlagsprojectKeyfeatureFlagKey_patch.md)
167171
- [Id](docs/Id.md)
168172
- [Link](docs/Link.md)
169173
- [Links](docs/Links.md)
170174
- [Member](docs/Member.md)
171175
- [Members](docs/Members.md)
172176
- [MembersBody](docs/MembersBody.md)
173-
- [NonOwnerRole](docs/NonOwnerRole.md)
174177
- [PatchComment](docs/PatchComment.md)
175-
- [PatchDelta](docs/PatchDelta.md)
178+
- [PatchOperation](docs/PatchOperation.md)
176179
- [Policy](docs/Policy.md)
180+
- [Prerequisite](docs/Prerequisite.md)
177181
- [Project](docs/Project.md)
178182
- [ProjectBody](docs/ProjectBody.md)
179183
- [Projects](docs/Projects.md)
@@ -188,6 +192,11 @@ Class | Method | HTTP request | Description
188192
- [User](docs/User.md)
189193
- [UserFlagSetting](docs/UserFlagSetting.md)
190194
- [UserFlagSettings](docs/UserFlagSettings.md)
195+
- [UserRecord](docs/UserRecord.md)
196+
- [UserSegment](docs/UserSegment.md)
197+
- [UserSegmentBody](docs/UserSegmentBody.md)
198+
- [UserSegmentRule](docs/UserSegmentRule.md)
199+
- [UserSegments](docs/UserSegments.md)
191200
- [UserSettingsBody](docs/UserSettingsBody.md)
192201
- [Users](docs/Users.md)
193202
- [Variation](docs/Variation.md)

_client.sh

+55-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# !
1111
# ! Based on: https://github.com/Valodim/zsh-curl-completion/blob/master/_curl
1212
# !
13-
# ! Generated on: 2018-04-19T14:20:40.764-07:00
13+
# ! Generated on: 2018-04-19T14:58:48.697-07:00
1414
# !
1515
# !
1616
# ! Installation:
@@ -307,8 +307,8 @@ case $state in
307307
"patchEnvironment[Modify an environment by ID.]" \
308308
"postEnvironment[Create a new environment in a specified project with a given name, key, and swatch color.]" "deleteFeatureFlag[Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.]" \
309309
"getFeatureFlag[Get a single feature flag by key.]" \
310-
"getFeatureFlagStatus[Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.]" \
311-
"getFeatureFlagStatuses[Get the status for a particular feature flag.]" \
310+
"getFeatureFlagStatus[Get the status for a particular feature flag.]" \
311+
"getFeatureFlagStatuses[Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.]" \
312312
"getFeatureFlags[Get a list of all features in the given project.]" \
313313
"patchFeatureFlag[Perform a partial update to a feature.]" \
314314
"postFeatureFlag[Creates a new feature flag.]" "deleteProject[Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.]" \
@@ -319,7 +319,11 @@ case $state in
319319
"getMember[Get a single team member by ID.]" \
320320
"getMembers[Returns a list of all members in the account.]" \
321321
"patchMember[Modify a team member by ID.]" \
322-
"postMembers[Invite new members.]" "getUserFlagSetting[Fetch a single flag setting for a user by key.]" \
322+
"postMembers[Invite new members.]" "deleteUserSegment[Delete a user segment.]" \
323+
"getUserSegment[Get a single user segment by key.]" \
324+
"getUserSegments[Get a list of all user segments in the given project.]" \
325+
"patchUserSegment[Perform a partial update to a user segment.]" \
326+
"postUserSegment[Creates a new user segment.]" "getUserFlagSetting[Fetch a single flag setting for a user by key.]" \
323327
"getUserFlagSettings[Fetch a single flag setting for a user by key.]" \
324328
"putFlagSetting[Specifically enable or disable a feature flag for a user based on their key.]" "deleteUser[Delete a user by ID.]" \
325329
"getSearchUsers[Search users in LaunchDarkly based on their last active date, or a search query. It should not be used to enumerate all users in LaunchDarkly-- use the List users API resource.]" \
@@ -439,6 +443,7 @@ case $state in
439443
_op_arguments=(
440444
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
441445
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
446+
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
442447
)
443448
_describe -t actions 'operations' _op_arguments -S '' && ret=0
444449
;;
@@ -447,7 +452,6 @@ case $state in
447452
_op_arguments=(
448453
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
449454
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
450-
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
451455
)
452456
_describe -t actions 'operations' _op_arguments -S '' && ret=0
453457
;;
@@ -547,6 +551,50 @@ case $state in
547551
)
548552
_describe -t actions 'operations' _op_arguments -S '' && ret=0
549553
;;
554+
deleteUserSegment)
555+
local -a _op_arguments
556+
_op_arguments=(
557+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
558+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
559+
"userSegmentKey=:[PATH] The user segment's key. The key identifies the user segment in your code."
560+
)
561+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
562+
;;
563+
getUserSegment)
564+
local -a _op_arguments
565+
_op_arguments=(
566+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
567+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
568+
"userSegmentKey=:[PATH] The user segment's key. The key identifies the user segment in your code."
569+
)
570+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
571+
;;
572+
getUserSegments)
573+
local -a _op_arguments
574+
_op_arguments=(
575+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
576+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
577+
"tag=:[QUERY] Filter by tag. A tag can be used to group flags across projects."
578+
)
579+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
580+
;;
581+
patchUserSegment)
582+
local -a _op_arguments
583+
_op_arguments=(
584+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
585+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
586+
"userSegmentKey=:[PATH] The user segment's key. The key identifies the user segment in your code."
587+
)
588+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
589+
;;
590+
postUserSegment)
591+
local -a _op_arguments
592+
_op_arguments=(
593+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
594+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
595+
)
596+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
597+
;;
550598
getUserFlagSetting)
551599
local -a _op_arguments
552600
_op_arguments=(
@@ -612,8 +660,8 @@ case $state in
612660
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
613661
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
614662
"limit=:[QUERY] Pagination limit."
615-
"h=:[QUERY] Next link query parameter."
616-
"scrollId=:[QUERY] Next link query parameter."
663+
"h=:[QUERY] This parameter is required when following \"next\" links."
664+
"scrollId=:[QUERY] This parameter is required when following \"next\" links."
617665
)
618666
_describe -t actions 'operations' _op_arguments -S '' && ret=0
619667
;;

0 commit comments

Comments
 (0)