get https://api.split.io/internal/api/v2/splits/ws///environments/
Retrieves a feature flag 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.