Apps

Get Variant By Env

Retrieve the app variant based on the provided app_id and environment.

Args: app_id (str): The ID of the app to retrieve the variant for. environment (str): The environment of the app variant to retrieve.

Raises: HTTPException: If the app variant is not found (status_code=500), or if a ValueError is raised (status_code=400), or if any other exception is raised (status_code=500).

Returns: AppVariantResponse: The retrieved app variant.

get/apps/get_variant_by_env

Query parameters

app_idstring required
environmentstring required

Response

Successful Response

app_idstring required
app_namestring required
variant_idstring required
variant_namestring required
project_idstring required
base_namestring required
base_idstring required
config_namestring required
uristring nullable
revisioninteger required
created_atstring nullable
updated_atstring nullable
modified_by_idstring nullable
organization_idstring nullable
workspace_idstring nullable

Changes