Update an environment
Updates one of the project’s environments. Only the fields sent are changed. Runs already built keep the snapshot they were built with. Roark-curated environments cannot be edited (403).
Authorizations
Body
Input for updating an environment. Only the fields sent are changed. Roark-curated environments cannot be edited.
The phone line the simulated caller is on: packet loss applied to its 20 ms audio packets, per direction. The loss pattern is seeded per call, so a redial loses the same packets. CLEAR: No loss. MINOR_LOSS: 1% random, both ways. CELL_EDGE: 5% in 80 ms gaps, both ways. POOR_CONNECTION: 10% in 120 ms gaps, both ways. ONE_WAY_DEGRADED: 8% in 80 ms gaps, toward the agent only. CUSTOM: the per-direction loss in lineCustom, up to 20% in 0.5 steps, with a mean burst of up to 10 packets (omit it for random loss). Defaults to CLEAR.
CLEAR, MINOR_LOSS, CELL_EDGE, POOR_CONNECTION, ONE_WAY_DEGRADED, CUSTOM "CELL_EDGE"
The phone the simulated caller is on: the codecs the call passes through, both ways, on top of any loss in lineQuality. Null is no phone. LANDLINE: The narrow band of a phone handset and the codec of the phone network. MOBILE: The narrow band and the compressed voice codec of a mobile call. BLUETOOTH: A mobile on a car kit or headset: the Bluetooth link adds fizz under the voice, then the mobile codec. Defaults to null.
LANDLINE, MOBILE, BLUETOOTH "MOBILE"