Deploy a build to an experiment arm
Deploys a build of the paywall an arm shows at a location to that arm alone, in one environment or both, while the experiment runs or is paused: the arm shows it from now on, as shipping a fix to one arm needs.
Deploying the paywall itself never changes an arm, which keeps the build it started with. The build must be a ready build of the same paywall that was deployed to each environment named before, normally its deployed build, and fit the location. Deploying the build the arm keeps changes nothing. Recorded in the arm's buildChanges and the audit log; results go on counting everyone in the arm.
Guide: Feature flags and A/B tests
Errors
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request | invalid_build | For a build that does not qualify, naming paywallLocationId when the arm shows no paywall at that location and buildId otherwise. |
| 403 | permission_denied | permission_denied | When the caller may not publish paywalls (project:paywalls:publish). |
| 404 | not_found | experiment_not_found | When the project has no such experiment. |
| 404 | not_found | experiment_variant_not_found | When the experiment has no such arm. |
| 409 | conflict | paywall_build_withdrawn | For a withdrawn build. |
| 409 | conflict | experiment_not_started | For a draft. |
| 409 | conflict | experiment_concluded | — |
| 409 | conflict | experiment_archived | — |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Experiments
- List experiments
GET - Create an experiment
POST - Retrieve an experiment
GET - Update an experiment
PATCH - Archive an experiment
POST - Unarchive an experiment
POST - Start an experiment
POST - Pause an experiment
POST - Conclude an experiment
POST - List an experiment's arms
GET - Replace an experiment's arms
PUT - Retrieve an experiment's results
GET
Something wrong or missing on this page? Tell us by email or on Discord.