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

Commit 533e661

Browse files
author
LaunchDarklyCI
committed
Version 3.1.0 automatically generated from ld-openapi@11a872c.
1 parent 5a65a04 commit 533e661

12 files changed

+777
-5
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,13 @@ Class | Method | HTTP request | Description
127127
*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.
128128
*FeatureFlagsApi* | [**copyFeatureFlag**](docs/FeatureFlagsApi.md#copyfeatureflag) | **POST** /flags/{projectKey}/{featureFlagKey}/copy | Copies the feature flag configuration from one environment to the same feature flag in another environment.
129129
*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.
130+
*FeatureFlagsApi* | [**getExpiringUserTargets**](docs/FeatureFlagsApi.md#getexpiringusertargets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
130131
*FeatureFlagsApi* | [**getFeatureFlag**](docs/FeatureFlagsApi.md#getfeatureflag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
131132
*FeatureFlagsApi* | [**getFeatureFlagStatus**](docs/FeatureFlagsApi.md#getfeatureflagstatus) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
132133
*FeatureFlagsApi* | [**getFeatureFlagStatusAcrossEnvironments**](docs/FeatureFlagsApi.md#getfeatureflagstatusacrossenvironments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
133134
*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.
134135
*FeatureFlagsApi* | [**getFeatureFlags**](docs/FeatureFlagsApi.md#getfeatureflags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
136+
*FeatureFlagsApi* | [**patchExpiringUserTargets**](docs/FeatureFlagsApi.md#patchexpiringusertargets) | **PATCH** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on feature flag
135137
*FeatureFlagsApi* | [**patchFeatureFlag**](docs/FeatureFlagsApi.md#patchfeatureflag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
136138
*FeatureFlagsApi* | [**postFeatureFlag**](docs/FeatureFlagsApi.md#postfeatureflag) | **POST** /flags/{projectKey} | Creates a new feature flag.
137139
*ProjectsApi* | [**deleteProject**](docs/ProjectsApi.md#deleteproject) | **DELETE** /projects/{projectKey} | 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.
@@ -151,8 +153,10 @@ Class | Method | HTTP request | Description
151153
*UserSegmentsApi* | [**getUserSegments**](docs/UserSegmentsApi.md#getusersegments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
152154
*UserSegmentsApi* | [**patchUserSegment**](docs/UserSegmentsApi.md#patchusersegment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
153155
*UserSegmentsApi* | [**postUserSegment**](docs/UserSegmentsApi.md#postusersegment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
156+
*UserSettingsApi* | [**getExpiringUserTargetsForUser**](docs/UserSettingsApi.md#getexpiringusertargetsforuser) | **GET** /users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Get expiring dates on flags for user
154157
*UserSettingsApi* | [**getUserFlagSetting**](docs/UserSettingsApi.md#getuserflagsetting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
155158
*UserSettingsApi* | [**getUserFlagSettings**](docs/UserSettingsApi.md#getuserflagsettings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
159+
*UserSettingsApi* | [**patchExpiringUserTargetsForFlags**](docs/UserSettingsApi.md#patchexpiringusertargetsforflags) | **PATCH** /users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets for a single user on all flags
156160
*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.
157161
*UsersApi* | [**deleteUser**](docs/UsersApi.md#deleteuser) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
158162
*UsersApi* | [**getSearchUsers**](docs/UsersApi.md#getsearchusers) | **GET** /user-search/{projectKey}/{environmentKey} | 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.
@@ -247,6 +251,10 @@ Class | Method | HTTP request | Description
247251
- [UserSegmentRule](docs/UserSegmentRule.md)
248252
- [UserSegments](docs/UserSegments.md)
249253
- [UserSettingsBody](docs/UserSettingsBody.md)
254+
- [UserTargetingExpirationForFlag](docs/UserTargetingExpirationForFlag.md)
255+
- [UserTargetingExpirationForFlags](docs/UserTargetingExpirationForFlags.md)
256+
- [UserTargetingExpirationOnFlagsForUser](docs/UserTargetingExpirationOnFlagsForUser.md)
257+
- [UserTargetingExpirationResourceIdForFlag](docs/UserTargetingExpirationResourceIdForFlag.md)
250258
- [Users](docs/Users.md)
251259
- [Variation](docs/Variation.md)
252260
- [Webhook](docs/Webhook.md)

_client.sh

+41-1
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,13 @@ case $state in
319319
"patchEnvironment[Modify an environment by ID.]" \
320320
"postEnvironment[Create a new environment in a specified project with a given name, key, and swatch color.]" "copyFeatureFlag[Copies the feature flag configuration from one environment to the same feature flag in another environment.]" \
321321
"deleteFeatureFlag[Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.]" \
322+
"getExpiringUserTargets[Get expiring user targets for feature flag]" \
322323
"getFeatureFlag[Get a single feature flag by key.]" \
323324
"getFeatureFlagStatus[Get the status for a particular feature flag.]" \
324325
"getFeatureFlagStatusAcrossEnvironments[Get the status for a particular feature flag across environments]" \
325326
"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.]" \
326327
"getFeatureFlags[Get a list of all features in the given project.]" \
328+
"patchExpiringUserTargets[Update, add, or delete expiring user targets on feature flag]" \
327329
"patchFeatureFlag[Perform a partial update to a feature.]" \
328330
"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.]" \
329331
"getProject[Fetch a single project by key.]" \
@@ -338,8 +340,10 @@ case $state in
338340
"getUserSegment[Get a single user segment by key.]" \
339341
"getUserSegments[Get a list of all user segments in the given project.]" \
340342
"patchUserSegment[Perform a partial update to a user segment.]" \
341-
"postUserSegment[Creates a new user segment.]" "getUserFlagSetting[Fetch a single flag setting for a user by key.]" \
343+
"postUserSegment[Creates a new user segment.]" "getExpiringUserTargetsForUser[Get expiring dates on flags for user]" \
344+
"getUserFlagSetting[Fetch a single flag setting for a user by key.]" \
342345
"getUserFlagSettings[Fetch a single flag setting for a user by key.]" \
346+
"patchExpiringUserTargetsForFlags[Update, add, or delete expiring user targets for a single user on all flags]" \
343347
"putFlagSetting[Specifically enable or disable a feature flag for a user based on their key.]" "deleteUser[Delete a user by ID.]" \
344348
"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.]" \
345349
"getUser[Get a user by key.]" \
@@ -555,6 +559,15 @@ case $state in
555559
local -a _op_arguments
556560
_op_arguments=(
557561
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
562+
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
563+
)
564+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
565+
;;
566+
getExpiringUserTargets)
567+
local -a _op_arguments
568+
_op_arguments=(
569+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
570+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
558571
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
559572
)
560573
_describe -t actions 'operations' _op_arguments -S '' && ret=0
@@ -611,6 +624,15 @@ case $state in
611624
)
612625
_describe -t actions 'operations' _op_arguments -S '' && ret=0
613626
;;
627+
patchExpiringUserTargets)
628+
local -a _op_arguments
629+
_op_arguments=(
630+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
631+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
632+
"featureFlagKey=:[PATH] The feature flag's key. The key identifies the flag in your code."
633+
)
634+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
635+
;;
614636
patchFeatureFlag)
615637
local -a _op_arguments
616638
_op_arguments=(
@@ -754,6 +776,15 @@ case $state in
754776
)
755777
_describe -t actions 'operations' _op_arguments -S '' && ret=0
756778
;;
779+
getExpiringUserTargetsForUser)
780+
local -a _op_arguments
781+
_op_arguments=(
782+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
783+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
784+
"userKey=:[PATH] The user's key."
785+
)
786+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
787+
;;
757788
getUserFlagSetting)
758789
local -a _op_arguments
759790
_op_arguments=(
@@ -769,6 +800,15 @@ case $state in
769800
_op_arguments=(
770801
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
771802
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
803+
"userKey=:[PATH] The user's key."
804+
)
805+
_describe -t actions 'operations' _op_arguments -S '' && ret=0
806+
;;
807+
patchExpiringUserTargetsForFlags)
808+
local -a _op_arguments
809+
_op_arguments=(
810+
"projectKey=:[PATH] The project key, used to tie the flags together under one project so they can be managed together."
811+
"environmentKey=:[PATH] The environment key, used to tie together flag configuration and users under one environment so they can be managed together."
772812
"userKey=:[PATH] The user's key."
773813
)
774814
_describe -t actions 'operations' _op_arguments -S '' && ret=0

0 commit comments

Comments
 (0)