libra/views_api
Padreug a0166d4026 fix(accounts): register /accounts/hierarchy before /accounts/{account_id}
FastAPI matches in registration order, and hierarchy was registered
~3,300 lines after the {account_id} route — every request resolved as
account_id="hierarchy" and 404'd, so the endpoint has been unreachable
since it was added. Moved above the param routes in the accounts
module, with a functional reachability test and an updated route
snapshot (literal-before-param is now asserted for both overlap
families).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 16:12:37 +02:00
..
__init__.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00
_shared.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00
accounts.py fix(accounts): register /accounts/hierarchy before /accounts/{account_id} 2026-07-12 16:12:37 +02:00
admin.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00
entries.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00
payments.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00
permissions.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00
reconciliation.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00
settings_reports.py refactor(api): split views_api.py into a package of domain modules 2026-07-12 16:09:58 +02:00