Update Variant Parameters
PUT/variants/:variant_id/parameters
Updates the parameters for an app variant.
Args: variant_id (str): The ID of the app variant to update. payload (UpdateVariantParameterPayload): The payload containing the updated parameters. stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).
Raises: HTTPException: If there is an error while trying to update the app variant.
Returns: JSONResponse: A JSON response containing the updated app variant parameters.
Request
Path Parameters
variant_id Variant Idrequired
- application/json
Body
required
parameters objectrequired
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...