Get Split Definition in Environment

Retrieves a Split Definition given the name and the environment.

JSON Received

{
    "name": String,
    "environment": URN, // Containing id and name of the environment
    "killed": Boolean,
    "treatments": [ Treatment ],
    "defaultTreatment": String,
    "trafficAllocation": Number, // Between 0 and 100
    "rules": [ Rule ],
    "creationTime": Number, // Milliseconds since epoch
    "lastUpdateTime": Number // Milliseconds since epoch
    "lastTrafficReceivedAt": Number //Milliseconds since epoch
}

Detailed information of the payload structure can be found on Split Grammar.

Language