v4

latestOpenAPI 3.0.02026-08-04109113304.5 KB
Features

Create a Feature

Create a Feature

post/features

Request body

archivedboolean

Whether the Feature has been archived

createdstring date-time

Time when the Feature was created

descriptionstring

A short description of this Feature

environmentsobject

The configuration for this Feature's Rollout within each Environment, keyed by Environment key

idinteger

The ID of this Feature

keystring required

Unique string identifier for this Feature within the Project

last_modifiedstring date-time

Date last modified

namestring

Name of the Feature

project_idinteger required

The ID of the Project this Feature belongs to

Example request

{
  "key": "new_checkout_page",
  "name": "the checkout feature",
  "variables": [
    {
      "default_value": "0.05",
      "type": "double"
    }
  ]
}

Response

Successfully created the Feature

archivedboolean

Whether the Feature has been archived

createdstring date-time

Time when the Feature was created

descriptionstring

A short description of this Feature

environmentsobject

The configuration for this Feature's Rollout within each Environment, keyed by Environment key

idinteger

The ID of this Feature

keystring required

Unique string identifier for this Feature within the Project

last_modifiedstring date-time

Date last modified

namestring

Name of the Feature

project_idinteger required

The ID of the Project this Feature belongs to

Example response

{
  "key": "new_checkout_page",
  "name": "the checkout feature",
  "variables": [
    {
      "default_value": "0.05",
      "type": "double"
    }
  ]
}