Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kuma MeshHTTPRoute API

The MeshHTTPRoute API from Kuma — 2 operation(s) for meshhttproute.

Kuma MeshHTTPRoute API is one of 38 APIs that Kuma publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include MeshHTTPRoute. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, an API reference, and 1 JSON Schema.

This API exposes 4 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version v1alpha1.

Requests are made against the base URL https://localhost:5681.

4 operations 2 paths 4 schemas 1 DELETE2 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1alpha1
Base URL
https://localhost:5681
Authentication
HTTP Basic, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Kuma MeshHTTPRoute API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuth). It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated, though some operations may also be called without credentials.

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

MeshHTTPRoute 4
GET
/meshes/{mesh}/meshhttproutes/{name}
Returns MeshHTTPRoute entity
getMeshHTTPRoute 2 params → 200404
PUT
/meshes/{mesh}/meshhttproutes/{name}
Creates or Updates MeshHTTPRoute entity
putMeshHTTPRoute 2 params body → 200201
DELETE
/meshes/{mesh}/meshhttproutes/{name}
Deletes MeshHTTPRoute entity
deleteMeshHTTPRoute 2 params → 200404
GET
/meshes/{mesh}/meshhttproutes
Returns a list of MeshHTTPRoute in the mesh.
getMeshHTTPRouteList 4 params → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are MeshHTTPRouteItem (8 properties), Error (6 properties), InvalidParameters (5 properties). Each schema is shown below with its type and property counts.

NotFoundError
InvalidParameters
object
5 properties 3 required
MeshHTTPRouteItem
object
NOTICE: This policy defines its own GetDefault method so that it can have the given structure for deserialization but still use the generic policy merging mach…
8 properties 3 required
Error
object
Standard error. Follows the [AIP 193 - Errors](https://kong-aip.netlify.app/aip/193/) specification.
6 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kuma-meshhttproute-api-openapi.yml Raw ↑

Other APIs Kuma publishes across the network.

Kuma Kubernetes Policy API
Kuma Multizone API
Kuma Dataplane API
Kuma GlobalInsight API
Kuma HostnameGenerator API
Kuma Inspect API
Kuma KRI API
Kuma Mesh API
Kuma MeshAccessLog API
Kuma MeshCircuitBreaker API
Kuma Meshes API
Kuma MeshExternalService API