LaunchDarkly
Copy feature flag
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。
Copy flag settings from a source environment to a target environment.
Inputs
featureFlagKey [required]
The feature flag key. The key identifies the flag in your code.
A string in the form of env
or env:version
, where env
is the environment key and version
is an optional flag version. If the version
is included, the operation only succeeds if the current flag version in the environment matches this version.
A string in the form of env
or env:version
, where env
is the environment key and version
is an optional flag version. If the version
is included, the operation only succeeds if the current flag version in the environment matches this version.
List of the flag changes to copy from the source environment to the target environment. You may include either includedActions
or excludedActions
, but not both.
List of the flag changes NOT to copy from the source environment to the target environment. You may include either includedActions
or excludedActions
, but not both.
Outputs
Expand All
A human-friendly name for the feature flag
Kind of feature flag
Allowed enum values: boolean,multivariate
Description of the feature flag
A unique key used to reference the flag in your code
Version of the feature flag
DEPRECATED: Deprecated, use clientSideAvailability
. Whether this flag should be made available to the client-side JavaScript SDK
An array of possible variations for the flag
The ID of the variation. Leave empty when you are creating a flag.
The value of the variation. For boolean flags, this must be true
or false
. For multivariate flags, this may be a string, number, or JSON object.
Description of the variation. Defaults to an empty string, but is omitted from the response if not set.
A human-friendly name for the variation. Defaults to an empty string, but is omitted from the response if not set.
Whether the flag is a temporary flag
Tags for the feature flag
The location and content type of related resources
Associated maintainerId for the feature flag
The location and content type of related resources
The member's built-in role. If the member has no custom roles, this role will be in effect.
The member's email address
The key of the associated team that maintains this feature flag
The key of the maintainer team
A human-friendly name for the maintainer team
The location and content type of related resources
DEPRECATED: Deprecated, use experiments
instead
The number of experiments using this metric
The number of metric groups using this metric
The version ID of the metric
A unique key to reference the metric
A human-friendly name for the metric
The kind of event the metric tracks
Allowed enum values: pageview,click,custom
The number of feature flags currently attached to this metric
The location and content type of related resources
Resource specifier strings
Targeted resources are the resources NOT in this list. The resources
and notActions
fields must be empty to use this field.
Actions to perform on a resource
Targeted actions are the actions NOT in this list. The actions
and notResources
fields must be empty to use this field.
Whether this statement should allow or deny actions on the resources.
Allowed enum values: allow,deny
Resource specifier strings
Targeted resources are the resources NOT in this list. The resources
and notActions
fields must be empty to use this field.
Actions to perform on a resource
Targeted actions are the actions NOT in this list. The actions
and notResources
fields must be empty to use this field.
Whether this statement should allow or deny actions on the resources.
Allowed enum values: allow,deny
The ID of the member who maintains this metric
The location and content type of related resources
The member's built-in role. If the member has no custom roles, this role will be in effect.
The member's email address
Description of the metric
For custom metrics, whether to track numeric changes in value against a baseline (true
) or to track a conversion when an end user takes an action (false
).
For custom metrics, the success criteria
Allowed enum values: HigherThanBaseline,LowerThanBaseline
For numeric custom metrics, the unit of measure
For custom metrics, the event key to use in your code
An array of randomization units allowed for this metric
The method in which multiple unit event values are aggregated
Allowed enum values: average,sum
The strategy for analyzing metric events
Allowed enum values: mean,percentile
The percentile, an integer denoting the target percentile between 0 and 100. Only present when analysisType
is percentile
.
Whether to disable defaulting missing unit events when calculating results. Defaults to false
The default value applied to missing unit events. Only available when disabled
is false. Defaults to 0
customProperties [required]
Boolean indicating if the feature flag is archived
Boolean indicating if the feature flag is deprecated
The index, from the array of variations for this flag, of the variation to serve by default when targeting is on.
The index, from the array of variations for this flag, of the variation to serve by default when targeting is off.
The context kind targeted by this migration flag. Only applicable for six-stage migrations.
The number of stages for this migration flag
Details on the environments for this flag