Skip to main content

List Environments

GET 

/apps/:app_id/environments

Retrieve a list of environments for a given app ID.

Args: app_id (str): The ID of the app to retrieve environments for. stoken_session (SessionContainer, optional): The session container. Defaults to Depends(verify_session()).

Returns: List[EnvironmentOutput]: A list of environment objects.

Request

Path Parameters

    app_id App Idrequired

Responses

Successful Response

Schema

  • Array [

  • name Name (string)required
    app_id App Id (string)required
    project_id Project Id (string)required

    deployed_app_variant_id

    object

    required

    anyOf

    string

    deployed_variant_name

    object

    required

    anyOf

    string

    deployed_app_variant_revision_id

    object

    required

    anyOf

    string

    revision

    object

    required

    anyOf

    integer

    organization_id

    object

    anyOf

    string

    workspace_id

    object

    anyOf

    string

  • ]

Loading...