mirror of
https://github.com/hanzoai/ingress.git
synced 2026-10-20 15:07:40 +00:00
Record the /v1/ingress admin API in LLM.md
Claude-Session: https://claude.ai/code/session_011i2AG9nwpiKUCVxAdDzYuU
This commit is contained in:
@@ -159,6 +159,13 @@ the intended behaviour: there is one name for each of these, and it is ours.
|
||||
`kubernetes-crd-definition-v1.yml` to empty if the controller-gen step is
|
||||
skipped, so run the steps by hand, in order.
|
||||
|
||||
## Admin API lives at `/v1/ingress/*`
|
||||
|
||||
The API handler (`pkg/api/handler.go`, `pkg/version`) serves only
|
||||
`/v1/ingress/...`; the dashboard is told the same base. `pkg/api/apiprefix_test.go`
|
||||
fails if any route is registered under `/api`, and asserts the old spellings
|
||||
404 while `/v1/ingress/...` answers 200. CI runs `./pkg/api/...` (hanzo.yml).
|
||||
|
||||
## In-process surface (`App`, root package)
|
||||
|
||||
`app.go` builds the small surface a co-resident binary needs — `GET
|
||||
|
||||
Reference in New Issue
Block a user