v1

latestOpenAPI 3.0.32026-07-22177397578.0 KB
FeatureFlag

Create a new feature flag configuration

Create new feature flag configurations with given parameters.

post/feature-flags

Request body

attributionWindowinteger

Attribution window in milliseconds

descriptionstring

Description of the feature

featureKeystring required

Key of the feature flag

namestring required

Name of the feature flag

primaryGoalIdinteger

Primary goal associated with the feature flag

secondaryGoalIdsinteger[]

Secondary goals associated with the feature flag

siteCodestring required

Unique Id of the website/app for your project in the Kameleoon app

tagsstring[]

List of tags associated with the feature flag

Response

Created

archivedboolean
attributionWindowinteger

Attribution window

createdByIdinteger

Created by id

dateContentModifiedstring date-time

Date and time when the feature flag configuration content was last modified

dateCreatedstring date-time

Date and time when the feature flag configuration was created

dateModifiedstring date-time

Date and time when the feature flag configuration was last modified

descriptionstring

Description of the feature

featureKeystring required

Key used to identify the feature flag

health'PERMANENT' | 'HEALTHY' | 'STALE' | 'SMELLY'

Health of the feature flag (for temporary ones)

idinteger required

System-generated unique string of integers to identify a feature flag

isArchivedboolean
namestring required

Name of the feature flag

primaryGoalIdinteger

Primary goal of the feature flag

secondaryGoalIdsinteger[]

Secondary goals associated with the feature flag

siteCodestring required

Unique Id for the project in the Kameleoon app. This is an optional field to be included as query parameters

tagsstring[]

List of tags associated with the feature flag. This is an optional field to be included as query parameters

teamIdinteger

Team id