Make a variant the page (one patch to the working copy that can be undone
post/hosting/sites/{id}/experiments/{exp}/promote
Make a variant the page (one patch to the working copy that can be undone; it goes live with the next approved release). Without a winner by the test's own rule a reason is required. A person only.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingExperimentPromote- Sdk
hosting.experiment.promote- Cli
hosting experiment promote
Parameters
- idstring (uuid)requiredIn the path
- expstringrequiredIn the path
Request bodyapplication/json, required
- variantIdstringrequiredAt most 20 characters.
- reasonstringAt most 300 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring