API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}
API Resource Path: /environments/{environment_name}/virtualhosts/{virtualhost_name}
Gets details for a named virtual host
Verb: GET
Auth: Basic AuthEvery environment in Apigee has at least one virtual host. The virtual host defines the HTTP settings for connection with the Apigee organization. All API proxies in an environment share the same virtual hosts. This method returns the list of named virtual hosts. You can use the names here to get details for the virtual host. This is the best way to verify the connection settings that client apps must use to invoke your APIs.
Sample Response:{
"VirtualHost": {
"name": "default",
"HostAliases": {
"HostAlias": "myorg-test.apigee.net"
},
"Interfaces": "",
"Port": 80
}
}
Response Payload Elements:
| Name | Description |
|---|---|
| VirtualHost | Settings for a named virtual host |
| name | The name of the virutal host |
| HostAliases | The URL for the virtual host |
| Interfaces | Named interfaces used by the virtual host |
| Port | The port on which the virtual host listens |