A B Experiment Service
Get an A/B experiment
Retrieves an A/B experiment and its participating deployments, roles, and traffic percentages.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
projectId*string
Project identifier.
endpointId*string
Endpoint identifier.
id*string
A/B experiment identifier.
Response Body
application/json
application/json
curl -X GET "https://example.com/projects/string/endpoints/string/abExperiments/string"{ "id": "string", "projectId": "string", "endpointId": "string", "name": "string", "description": "string", "members": [ { "deploymentId": "string", "role": "AB_EXPERIMENT_MEMBER_ROLE_CONTROL", "percent": 0 } ], "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "etag": "string"}Create an A/B experiment POST
Creates a managed control/variant split across two to 20 deployments under the same endpoint. Exactly one member is the control, member percentages must add up to 100, and the split applies only to traffic that the endpoint would otherwise send to the control.
Update an A/B experiment PATCH
Updates an experiment's description or member traffic percentages. Use the experiment etag for optimistic concurrency.