Split Definition

A Split Definition is the configuration of a Split in a specific environment such as production or staging.

{
    “name”: String,
    “environment”: { "id": String, "name": String },
    “trafficType“: { "id": String, "name": String },
    “killed”: Boolean,
    “treatments”: [ Treatment ],
    “defaultTreatment”: String,
    “trafficAllocation”: Number,
    “rules”: [ Rule ], 
    “defaultRule”: [ Bucket ],
    “creationTime”: Number,
    “lastUpdateTime”: Number,
}

The minimum required fields for configuring a Split Definition are treatments, defaultTreatment, and defaultRule.

For detailed examples on how to perform actions on a Split Definition, check: