yera.dev.routers.apps
Apps and deploy router: list apps, deploy-config, deploy.
Symbols
deploy_app
deploy_app(
app_id: str = FastAPIPath(description='App identifier'),
app_service: AppService = Depends(get_app_service),
client: HubClient = Depends(get_hub_client),
) → dictDeploy an app to the hub server.
get_deploy_config
get_deploy_config(
hub_override: str | None = Depends(get_hub_override),
) → dictCheck whether deploy is available (hub configured).
list_apps
list_apps(
app_service: AppService = Depends(get_app_service),
) → ListAppsResponseList 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.