Feature flag

A feature flag is our term for a toggle or experiment. In REST terms, it has the following schema:

{
    "name": String,
    "description": String, 
    "trafficType": { "id": String, "name": String }, 
    "creationTime": Number,
    "tags" : [{ "name": String }]
}

The REST Endpoints available for a Feature flag are:

It's worth noting that this object does not contain any information regarding the configuration or rollout plan for any specific environment.

In the same way as the user interface, creating a feature flag involves setting a name and a traffic type (and possibly a description).

After you create a feature flag, it is possible to update it for any specific environment, using the REST API calls Feature flag definition.