v1

latestOpenAPI 3.0.02026-07-13103151174.7 KB
[Deprecated] Features v1

Update a Feature's Static Configuration

Update a completed Feature's static configuration

patch/v1/projects/{project}/features/{feature}/static-configuration

Path parameters

featurestring required
keystring required

A Feature key or ID

projectstring required

A Project key or ID

Request body

keystring

Unique key by Project, can be used in the SDK / API to reference by 'key' rather than _id. Must only contain lower-case characters and _, - or ..

namestring

Name of the Feature

descriptionstring

Feature description.

type'release' | 'experiment' | 'permission' | 'ops'

Feature type.

tagsstring[]

Feature tags.

controlVariationstring

The key of the variation that is used as the control variation for Metrics

stalenessobject
variablesobject

The static value of each variable in the feature

environmentsobject

The status of the configuration in each environment

Example request

{
  "key": "new-dash",
  "name": "New Dashboard",
  "description": "New Dashboard",
  "type": "release",
  "tags": [
    "new",
    "dashboard"
  ]
}

Response

keystring

Unique key by Project, can be used in the SDK / API to reference by 'key' rather than _id. Must only contain lower-case characters and _, - or ..

namestring

Name of the Feature

descriptionstring

Feature description.

variablesobject required

The static value of each variable in the feature

environmentsobject required

The status of the configuration in each environment

readonlyboolean required

Controls whether the static configuration is editable for a given user

type'release' | 'experiment' | 'permission' | 'ops'

Feature type.

tagsstring[]

Feature tags.

controlVariationstring

The key of the variation that is used as the control variation for Metrics

stalenessobject

Example response

{
  "key": "new-dash",
  "name": "New Dashboard",
  "description": "New Dashboard",
  "type": "release",
  "tags": [
    "new",
    "dashboard"
  ]
}