WSO2 · Schema

Environment

Environment schema from WSO2 API Manager

API ManagementGatewaysOpen-SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
id string
name string
displayName string
type string
gatewayType string
mode string The mode of the environment. This indicates whether the environment is in read-only or read-write mode. **READ_ONLY:** The environment is in read-only mode. API cannot be deployed, only discovery is p
serverUrl string
provider string
showInApiConsole boolean
vhosts array
endpointURIs array
additionalProperties array
permissions object
View JSON Schema on GitHub

JSON Schema

publisher-api-environment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/publisher-api-environment-schema.json",
  "title": "Environment",
  "description": "Environment schema from WSO2 API Manager",
  "required": [
    "id",
    "name",
    "serverUrl",
    "showInApiConsole",
    "type"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "example": "default"
    },
    "displayName": {
      "type": "string",
      "example": "Default"
    },
    "type": {
      "type": "string",
      "default": "hybrid",
      "example": "hybrid"
    },
    "gatewayType": {
      "type": "string",
      "example": "Regular",
      "default": "Regular"
    },
    "mode": {
      "type": "string",
      "enum": [
        "READ_ONLY",
        "READ_WRITE",
        "WRITE_ONLY"
      ],
      "example": "READ_WRITE",
      "default": "WRITE_ONLY",
      "description": "The mode of the environment. This indicates whether the environment is in read-only or read-write mode.\n**READ_ONLY:** The environment is in read-only mode. API cannot be deployed, only discovery is possible.\n**READ_WRITE:** The environment is in read-write mode. APIs can be deployed and discovered.\n**WRITE_ONLY:** The environment is in write-only mode/ APIs only can be deployed.\n"
    },
    "serverUrl": {
      "type": "string",
      "example": "https://localhost:9443/services/"
    },
    "provider": {
      "type": "string",
      "example": "wso2"
    },
    "showInApiConsole": {
      "type": "boolean",
      "example": true
    },
    "vhosts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/VHost"
      }
    },
    "endpointURIs": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GatewayEnvironmentProtocolURI"
      }
    },
    "additionalProperties": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AdditionalProperty"
      }
    },
    "permissions": {
      "type": "object",
      "properties": {
        "permissionType": {
          "type": "string",
          "example": "ALLOW",
          "default": "PUBLIC",
          "enum": [
            "PUBLIC",
            "ALLOW",
            "DENY"
          ]
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string",
            "example": "Internal/everyone"
          }
        }
      }
    }
  }
}

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/publisher-api-environment"
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 email required.

A second provider on the same verified email joins the account you already have.