Contour · Schema
Listener
A listener on the Gateway accepting inbound connections.
EnvoyIngress ControllerKubernetesNetworkingProxy
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Unique name for this listener within the Gateway. |
| hostname | string | Hostname that this listener is bound to. Requests with matching SNI or Host header are routed to this listener. |
| port | integer | Network port number the listener binds to. |
| protocol | string | Network protocol the listener accepts. |
| tls | object | TLS configuration for HTTPS and TLS listeners. |
| allowedRoutes | object | Defines which routes are allowed to attach to this listener. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Listener",
"title": "Listener",
"type": "object",
"description": "A listener on the Gateway accepting inbound connections.",
"required": [
"name",
"port",
"protocol"
],
"properties": {
"name": {
"type": "string",
"description": "Unique name for this listener within the Gateway."
},
"hostname": {
"type": "string",
"description": "Hostname that this listener is bound to. Requests with matching SNI or Host header are routed to this listener."
},
"port": {
"type": "integer",
"description": "Network port number the listener binds to.",
"minimum": 1,
"maximum": 65535
},
"protocol": {
"type": "string",
"description": "Network protocol the listener accepts.",
"enum": [
"HTTP",
"HTTPS",
"TLS",
"TCP"
]
},
"tls": {
"type": "object",
"description": "TLS configuration for HTTPS and TLS listeners.",
"properties": {
"mode": {
"type": "string",
"enum": [
"Terminate",
"Passthrough"
]
},
"certificateRefs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SecretObjectReference"
}
}
}
},
"allowedRoutes": {
"type": "object",
"description": "Defines which routes are allowed to attach to this listener.",
"properties": {
"namespaces": {
"type": "object",
"properties": {
"from": {
"type": "string",
"enum": [
"All",
"Same",
"Selector"
]
},
"selector": {
"type": "object"
}
}
},
"kinds": {
"type": "array",
"items": {
"type": "object",
"properties": {
"group": {
"type": "string"
},
"kind": {
"type": "string"
}
}
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/contour-listener"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.