Skip to main content

Update Variant Image

PUT 

/variants/:variant_id/image

Updates the image used in an app variant.

Args: variant_id (str): The ID of the app variant to update. image (Image): The image information to update.

Raises: HTTPException: If an error occurs while trying to update the app variant.

Returns: JSONResponse: A JSON response indicating whether the update was successful or not.

Request

Path Parameters

    variant_id Variant Idrequired

Body

required

    type Type (string)
    docker_id Docker Id (string)required
    tags Tags (string)required
    organization_id Organization Id (string)
    workspace_id Workspace Id (string)

Responses

Successful Response

Schema

    any

Loading...