From ea64e6e0f070a0d84e8fce30495625c3a7abce89 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 21 Jun 2026 03:05:52 -0600 Subject: [PATCH] docs: list all 8 api_routers/ subpackages in Project layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Four additional routers landed since the last doc pass: - activity.py (GET /api/activity, /api/activity/stream) - batches.py (GET /api/batches, /api/batches/{id}, /api/batch-diff) - providers.py (GET /api/providers) - clearhouse.py (GET /api/clearhouse, POST /api/clearhouse/submit) - config.py (/api/config/providers[/...], /api/config/payers[/...], POST /api/admin/reload-config) Update the Project layout block to list all 8 routers with the routes they own. No new functionality is introduced — the refactor is purely a code-organization move from api.py into the api_routers/ subpackage. No code changes; no tests touched. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e410d76..a8e2022 100644 --- a/README.md +++ b/README.md @@ -479,7 +479,12 @@ backup API). │ │ ├── api_routers/ # FastAPI APIRouters extracted from api.py │ │ │ ├── health.py # GET /api/health │ │ │ ├── acks.py # GET /api/acks, /api/acks/{id} -│ │ │ └── ta1_acks.py # GET /api/ta1-acks, /api/ta1-acks/{id} +│ │ │ ├── ta1_acks.py # GET /api/ta1-acks, /api/ta1-acks/{id} +│ │ │ ├── activity.py # GET /api/activity, /api/activity/stream +│ │ │ ├── batches.py # GET /api/batches, /api/batches/{id}, /api/batch-diff +│ │ │ ├── providers.py # GET /api/providers +│ │ │ ├── clearhouse.py # GET /api/clearhouse, POST /api/clearhouse/submit +│ │ │ └── config.py # /api/config/providers[/...], /api/config/payers[/...], /api/admin/reload-config │ │ ├── pubsub.py # in-process EventBus (drop-oldest, per-kind fan-out) │ │ ├── store.py # CycloneStore, mappers, publish-on-write │ │ ├── db.py # SQLAlchemy engine, session factory, ORM models