Kong · Schema

Filter by gateway_service

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
View JSON Schema on GitHub

JSON Schema

kong-metricsgatewayservicefilterbyfield-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MetricsGatewayServiceFilterByField",
  "title": "Filter by gateway_service",
  "oneOf": [
    {
      "title": "Multiselect filters",
      "type": "object",
      "properties": {
        "operator": {
          "$ref": "#/components/schemas/RequestsFilterType"
        },
        "value": {
          "description": "The IDs to include in the results. Because gateway IDs are only unique within a given control plane, the filter values must be of the form `control_plane_id:field_id` or `control_plane_group_id:field_id` for data plane nodes within a control plane group.\n",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/ScopedUuid"
          }
        },
        "field": {
          "description": "The field to filter.",
          "type": "string",
          "enum": [
            "gateway_service"
          ]
        }
      },
      "required": [
        "operator",
        "value",
        "field"
      ]
    },
    {
      "title": "Empty filters",
      "type": "object",
      "properties": {
        "operator": {
          "$ref": "#/components/schemas/RequestsFilterTypeEmpty"
        },
        "field": {
          "description": "The field to filter.",
          "type": "string",
          "enum": [
            "gateway_service"
          ]
        }
      },
      "required": [
        "operator",
        "field"
      ]
    }
  ]
}