Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 2.08 KB

FeatureFlagBody.md

File metadata and controls

36 lines (24 loc) · 2.08 KB

FeatureFlagBody

Properties

Name Type Description Notes
name String A human-friendly name for the feature flag
key String A unique key used to reference the flag in your code
description String Description of the feature flag. Defaults to an empty string. [optional]
includeInSnippet Boolean Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK. Defaults to <code>false</code>. [optional]
clientSideAvailability ClientSideAvailabilityPost [optional]
variations List<Variation> An array of possible variations for the flag. The variation values must be unique. If omitted, two boolean variations of <code>true</code> and <code>false</code> will be used. [optional]
temporary Boolean Whether the flag is a temporary flag. Defaults to <code>true</code>. [optional]
tags List<String> Tags for the feature flag. Defaults to an empty array. [optional]
customProperties Map<String, CustomProperty> [optional]
defaults Defaults [optional]
purpose PurposeEnum Purpose of the flag [optional]
migrationSettings MigrationSettingsPost [optional]
maintainerId String The ID of the member who maintains this feature flag [optional]
maintainerTeamKey String The key of the team that maintains this feature flag [optional]
initialPrerequisites List<FlagPrerequisitePost> Initial set of prerequisite flags for all environments [optional]

Enum: PurposeEnum

Name Value
MIGRATION "migration"
HOLDOUT "holdout"