yera.dev.routers.apps

Apps and deploy router: list apps, deploy-config, deploy.

Symbols

def deploy_app — Deploy an app to the hub server.
def get_deploy_config — Check whether deploy is available (hub configured).
def list_apps — List all available apps with minimal metadata.

deploy_app

deploy_app(
    app_id: str = FastAPIPath(description='App identifier'),
    app_service: AppService = Depends(get_app_service),
    client: HubClient = Depends(get_hub_client),
) → dict

Deploy an app to the hub server.

get_deploy_config

get_deploy_config(
    hub_override: str | None = Depends(get_hub_override),
) → dict

Check whether deploy is available (hub configured).

list_apps

list_apps(
    app_service: AppService = Depends(get_app_service),
) → ListAppsResponse

List all available apps with minimal metadata.

The React UI uses this endpoint to: - Populate the home page with available apps. - Resolve app_id strings used in /apps/{id} routes.

There is no baked-in list of apps in the static HTML; the set of apps is discovered at runtime (see yera.apps.discovery.discover_apps) based on the directory in which yera dev is run.

Returns

type: ListAppsResponse

List of apps with minimal metadata for listing/navigation.