createVhost
Creates a vhost endpoint for a service, using app and service handles to generate a default on-aptible.com domain.
Instructions
Create a new vhost/endpoint for a Service.
Service handle is a bit weird, since it's auto-assigned by Aptible and not set by the user. The user assigns with process_type in the procfile. Since this is being used by AI, that shouldn't matter, though.
TODO: Add support for database endpoints and custom endpoints. Currently, since there's no tools for handling DNS, we only support creating the default on-aptible.com domains for Services.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_handle | Yes | ||
| account_handle | No | ||
| service_handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |