Rivier/ Reference/ hosting

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)required
    In the path
  • expstringrequired
    In the path

Request bodyapplication/json, required

  • variantIdstringrequired
    At most 20 characters.
  • reasonstring
    At most 300 characters.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown