Deploy To Environment
POST/environments/deploy
Deploys a given variant to an environment
Args: environment_name: Name of the environment to deploy to. variant_id: variant id to deploy.
Raises: HTTPException: If the deployment fails.
Request
- application/json
Body
required
- MOD1
environment_name Environment Name (string)required
variant_id Variant Id (string)required
commit_messageobject
anyOf
string
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
- any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- Array [ 
- MOD1
- MOD2
- ] 
- ] 
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
  "detail": [
    {
      "loc": [
        "string",
        0
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
Loading...