HTTP API
Routes currently exposed by the webapp:
GET /Serves the main tabbed web UI shell.GET /static/app.cssServes UI stylesheet.GET /static/app.jsServes UI client script.GET /favicon.icoReturns204.GET /api/healthLiveness check.GET /api/generation/package-optionsReturns generation package options grouped by name class (cached per DB; refreshed on import).GET /api/generation/package-syllables?class_key=...&package_id=...Returns available syllable options for a class+package.GET /api/generation/selection-stats?class_key=...&package_id=...&syllable_key=...Returnsmax_itemsandmax_unique_combinations.POST /api/generateGenerates names from imported SQLite tables. Optionalrender_stylevalues:raw,lower,upper,title,sentence. Whenrender_styleis notraw, responses includeraw_namesalongside the renderednames.GET /api/database/packagesLists imported packages.GET /api/database/package-tables?package_id=...Lists imported txt-backed tables for a package.GET /api/database/table-rows?table_id=...&offset=...&limit=...Returns paginated table rows.POST /api/importImports a metadata JSON + ZIP package pair.
API-only mode:
Start with
python -m pipeworks_name_generation.webapp.api --config server.iniorpython -m pipeworks_name_generation.webapp.server --config server.ini --api-only.UI/static routes (
/,/static/*,/favicon.ico) are disabled in API-only mode.
Error shape:
API validation/runtime failures return JSON with an
errorkey.Unknown routes return standard HTTP
404.