Solo.io · Schema

VirtualService

A Gloo Gateway VirtualService defining routing rules, domain bindings, security policies, and traffic management configuration for incoming HTTP/HTTPS traffic.

CompanyAPI GatewayService MeshKubernetesIstioEnvoyAI GatewayAgentic AIMCPDeveloper PortalCloud-NativeOpen-Source

Properties

Name Type Description
apiVersion string API version (gateway.solo.io/v1)
kind string
metadata object
spec object
status object
View JSON Schema on GitHub

JSON Schema

solo-io-gloo-virtual-service-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/solo/main/json-schema/solo-gloo-virtual-service-schema.json",
  "title": "VirtualService",
  "description": "A Gloo Gateway VirtualService defining routing rules, domain bindings, security policies, and traffic management configuration for incoming HTTP/HTTPS traffic.",
  "type": "object",
  "properties": {
    "apiVersion": {
      "type": "string",
      "description": "API version (gateway.solo.io/v1)"
    },
    "kind": {
      "type": "string",
      "const": "VirtualService"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "namespace": { "type": "string" },
        "labels": { "type": "object" },
        "annotations": { "type": "object" }
      }
    },
    "spec": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "Human-readable name for the virtual service"
        },
        "virtualHost": {
          "type": "object",
          "description": "Virtual host configuration",
          "properties": {
            "domains": {
              "type": "array",
              "items": { "type": "string" },
              "description": "List of domains this virtual service handles"
            },
            "routes": {
              "type": "array",
              "description": "Ordered list of routing rules",
              "items": {
                "type": "object",
                "properties": {
                  "name": { "type": "string" },
                  "matchers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "prefix": { "type": "string" },
                        "exact": { "type": "string" },
                        "regex": { "type": "string" },
                        "headers": { "type": "array", "items": { "type": "object" } },
                        "methods": { "type": "array", "items": { "type": "string" } }
                      }
                    }
                  },
                  "routeAction": { "type": "object" },
                  "redirectAction": { "type": "object" },
                  "options": { "type": "object" }
                }
              }
            },
            "options": {
              "type": "object",
              "description": "Virtual host level options (rate limiting, auth, CORS, etc.)"
            }
          }
        },
        "sslConfig": {
          "type": "object",
          "description": "TLS configuration for HTTPS"
        }
      }
    },
    "status": {
      "type": "object",
      "properties": {
        "statuses": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string",
                "enum": ["Pending", "Accepted", "Rejected", "Warning"]
              },
              "reason": { "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/solo-io-gloo-virtual-service"
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.