Shadow Experiment Service
Get a shadow experiment
Retrieves a shadow experiment, including its sampling strategy and target deployments.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
projectId*string
Project identifier.
endpointId*string
Endpoint identifier.
id*string
Shadow experiment identifier.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/endpoints/string/shadowExperiments/string"{ "id": "string", "projectId": "string", "endpointId": "string", "name": "string", "description": "string", "source": { "endpoint": { "sampling": { "uniform": { "rate": 0 } } } }, "targets": [ { "id": "string", "experimentId": "string", "name": "string", "targetDeploymentId": "string", "description": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "etag": "string" } ], "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "etag": "string", "state": "SHADOW_EXPERIMENT_STATE_ACTIVE"}Create a shadow experiment POST
Creates an experiment that mirrors a sampled portion of endpoint traffic to one or more target deployments without returning their responses to clients. Add a description with the update operation after creation.
Update a shadow experiment PATCH
Updates a shadow experiment's description or source sampling strategy. `updateMask` is required; source changes also require the current `etag` in the request body.