API7 Docs

Get JSON Schema

GET /v1/schema

GET /v1/schema

Interactive request editor loads with JavaScript.

Response Body

application/json

curl -X GET "http://127.0.0.1:9090/v1/schema"

OK

{
  "main": {
    "route": {
      "properties": {}
    },
    "upstream": {
      "properties": {}
    }
  },
  "plugins": {
    "example-plugin": {
      "consumer_schema": {},
      "metadata_schema": {},
      "schema": {},
      "type": "object",
      "priority": 0,
      "version": 0.1
    }
  },
  "stream-plugins": {
    "mqtt-proxy": {}
  }
}
Complete operation details and schema variants

GET /v1/schema

Get JSON Schema

Get the JSON schema used by the gateway instance. Only loaded plugins are included.

Parameters

Responses

  • 200: OK

cURL

curl -X GET 'http://127.0.0.1:9090/v1/schema'