LaunchDarkly
List feature flags
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Get a list of all features in the given project.
Inputs
Filter configurations by environment. When specified, environments that do not match are omitted from the configuration of the feature flags.
The number of feature flags to return. Defaults to -1, which returns all flags.
default: -1
List of filters of the form field:value
.
Outputs
Expand All
An array of feature flags
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
The location and content type of related resources
The total number of flags
totalCountWithDifferences
The number of flags that have differences between environments. Only shown when query parameter compare
is true
.