Kong · Schema

RouteInput

Input schema for creating or updating a Route.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen-Source

Properties

Name Type Description
name string
protocols array
methods array
hosts array
paths array
headers object
snis array
sources array
destinations array
https_redirect_status_code integer
regex_priority integer
strip_path boolean
path_handling string
preserve_host boolean
request_buffering boolean
response_buffering boolean
tags array
service object
expression string
priority integer
View JSON Schema on GitHub

JSON Schema

kong-gateway-admin-route-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RouteInput",
  "type": "object",
  "description": "Input schema for creating or updating a Route.",
  "properties": {
    "name": {
      "type": "string"
    },
    "protocols": {
      "type": "array"
    },
    "methods": {
      "type": "array"
    },
    "hosts": {
      "type": "array"
    },
    "paths": {
      "type": "array"
    },
    "headers": {
      "type": "object"
    },
    "snis": {
      "type": "array"
    },
    "sources": {
      "type": "array"
    },
    "destinations": {
      "type": "array"
    },
    "https_redirect_status_code": {
      "type": "integer"
    },
    "regex_priority": {
      "type": "integer"
    },
    "strip_path": {
      "type": "boolean"
    },
    "path_handling": {
      "type": "string"
    },
    "preserve_host": {
      "type": "boolean"
    },
    "request_buffering": {
      "type": "boolean"
    },
    "response_buffering": {
      "type": "boolean"
    },
    "tags": {
      "type": "array"
    },
    "service": {
      "type": "object"
    },
    "expression": {
      "type": "string"
    },
    "priority": {
      "type": "integer"
    }
  }
}