WSO2 · Schema
Virtual Host
VHost schema from WSO2 API Manager
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST
Properties
| Name | Type | Description |
|---|---|---|
| host | string | |
| httpContext | string | |
| httpPort | integer | |
| httpsPort | integer | |
| wsPort | integer | |
| wsHost | string | |
| wssPort | integer | |
| wssHost | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/admin-api-v-host-schema.json",
"title": "Virtual Host",
"description": "VHost schema from WSO2 API Manager",
"required": [
"host"
],
"type": "object",
"properties": {
"host": {
"maxLength": 255,
"minLength": 1,
"type": "string",
"example": "mg.wso2.com"
},
"httpContext": {
"maxLength": 255,
"minLength": 0,
"pattern": "^\\/?([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])*$",
"type": "string",
"example": "pets"
},
"httpPort": {
"type": "integer",
"example": 80
},
"httpsPort": {
"type": "integer",
"example": 443
},
"wsPort": {
"type": "integer",
"example": 9099
},
"wsHost": {
"type": "string",
"example": "mg.wso2.com"
},
"wssPort": {
"type": "integer",
"example": 8099
},
"wssHost": {
"type": "string",
"example": "mg.wso2.com"
}
}
}