runtime_domains
Serve a sandbox port at your own hostname with automatic HTTPS. add(hostname, sandboxId, port): Returns the DNS records to set: a TXT record proving ownership and a CNAME (an A record for an apex). Needs a kept top-up. verify(hostname): Check the TXT record now and activate the domain when it matches; also says whether the name points at Runtime yet. list: Each domain with its state and DNS records. remove(hostname): Stop serving it, open connections included, before this answers; remove its DNS records at your DNS provider too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The port your server listens on inside the sandbox. | |
| action | Yes | ||
| hostname | No | ||
| sandboxId | No | The sandbox that serves it. |