Skip to main content

Module api

Module api 

Source
Expand description

REST API endpoints for proxy management.

Structs§

ApiResponse
API response wrapper.
BackendRequest
A backend, inside an upstream request or POST /upstreams/{id}/backends.
CreateRouteRequest
Body of POST /routes and PUT /routes/{id}.
CreateUpstreamRequest
Body of POST /upstreams and PUT /upstreams/{id}.
HealthSummary
Backend health across the whole running config.
ProxyStats
How much configuration the proxy is currently holding.

Functions§

admin_router
Create the admin API router. Build the admin API router.