Hanzo
OpenapiIngress

Returns one of the caller org's edge transforms by id.

Returns one of the caller org's edge transforms by id.

GET /v1/ingress/middlewares/{id}

Addresshttps://api.hanzo.ai/v1/ingress/middlewares/{id}
MethodGET
Operationget_ingress_middlewares_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one of the caller org's edge transforms by id.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the object to act on, from the path.

Response

StatusBodyMeaning
200Middlewareok

200 body — 4 fields.

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

Failure carries the platform error shape — see Errors.

Examples

hanzo ingress middlewares get <id>

Ingress API · All Hanzo APIs · Interactive reference

How is this guide?

On this page