Hanzo
OpenapiIngress

Returns every edge transform the caller's org has configured, ordered by id.

Returns every edge transform the caller's org has configured, ordered by id.

GET /v1/ingress/middlewares

Addresshttps://api.hanzo.ai/v1/ingress/middlewares
MethodGET
Operationget_ingress_middlewares
AuthAuthorization: Bearer $HANZO_API_KEY

Returns every edge transform the caller's org has configured, ordered by id. A route names the ones it wants, in order.

Request

GET /v1/ingress/middlewares takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200ingressMiddlewaresok

200 body — 5 fields.

FieldInTypeAlwaysDescription
middlewaresbodyMiddleware[]Middlewares is the org's middlewares, ordered by id.
middlewares[].configbodyobjectConfig is the transform's parameters: redirectScheme takes scheme (default https) and permanent ("true" ⇒ 301, else 302); stripPrefix REQUIRES prefixes…
middlewares[].config.*bodystring
middlewares[].idbodystringID identifies the transform within the org: [A-Za-z0-9-_.], at most 128 chars.
middlewares[].typebodystringType is the transform: redirectScheme, stripPrefix, addPrefix or headers.

Failure carries the platform error shape — see Errors.

Examples

hanzo ingress middlewares list

Ingress API · All Hanzo APIs · Interactive reference

How is this guide?

On this page