Kubernetes Services · Schema
HTTPRoute
An HTTPRoute defines HTTP routing rules from one or more Gateway listeners to backend services. Rules support rich matching on path, headers, query parameters, and HTTP method, and can apply request and response filters.
Container OrchestrationKubernetesLoad BalancingNetworkingService Discovery
Properties
| Name | Type | Description |
|---|---|---|
| apiVersion | string | |
| kind | string | |
| metadata | object | |
| spec | object | HTTPRoute specification. |
| status | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/HTTPRoute",
"title": "HTTPRoute",
"type": "object",
"description": "An HTTPRoute defines HTTP routing rules from one or more Gateway listeners to backend services. Rules support rich matching on path, headers, query parameters, and HTTP method, and can apply request and response filters.",
"properties": {
"apiVersion": {
"type": "string",
"const": "gateway.networking.k8s.io/v1"
},
"kind": {
"type": "string",
"const": "HTTPRoute"
},
"metadata": {
"$ref": "#/components/schemas/ObjectMeta"
},
"spec": {
"type": "object",
"description": "HTTPRoute specification.",
"properties": {
"parentRefs": {
"type": "array",
"description": "Gateway listeners this route attaches to. Routes must be accepted by the Gateway to receive traffic.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the parent Gateway."
},
"namespace": {
"type": "string",
"description": "Namespace of the parent Gateway."
},
"sectionName": {
"type": "string",
"description": "Listener name on the Gateway to attach to."
}
}
}
},
"hostnames": {
"type": "array",
"description": "Hostnames that should match to route traffic to this route. Supports wildcard prefixes.",
"items": {
"type": "string"
}
},
"rules": {
"type": "array",
"description": "Routing rules. Each rule consists of match conditions and backend references. Rules are evaluated in order.",
"items": {
"type": "object",
"properties": {
"matches": {
"type": "array",
"description": "Match conditions for this rule. Rules are OR'd.",
"items": {
"$ref": "#/components/schemas/HTTPRouteMatch"
}
},
"backendRefs": {
"type": "array",
"description": "Backends to forward matched requests to.",
"items": {
"$ref": "#/components/schemas/HTTPBackendRef"
}
}
}
}
}
}
},
"status": {
"type": "object",
"properties": {
"parents": {
"type": "array",
"description": "Status per parent Gateway this route is attached to.",
"items": {
"type": "object",
"properties": {
"parentRef": {
"type": "object"
},
"conditions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Condition"
}
}
}
}
}
}
}
}
}
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/kubernetes-services-httproute"
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.