Frontends

Get a frontend custom domain

Changed on
get/projects/{id}/frontends/{frontendId}/domains/{domain}

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

frontendId, string uuid required

Frontend ID

domain, string required

The custom domain's hostname, such as www.example.com

Response

The custom domain

FrontendCustomDomainResponse required
domain, string required
tls_mode, 'managed' | 'byoc' required
domain_status, 'pending_verification' | 'provisioning' | 'active' | 'detaching' | 'failed' | 'deleted' required
verification_status, 'pending' | 'verified' | 'failed' required

verified: the domain is served by a validated certificate. pending: it is not served yet, is being re-validated after its certificate material was withdrawn, or Volcano is retrying after a failure. failed: a failure left the domain unserved, alongside domain_status: failed; managed domains report the cause in failure_reason.

serving_certificate, 'uploaded' | 'managed'

Certificate the domain serves, present only while it is active. uploaded: the BYOC certificate, including after the domain switched to managed TLS and until Volcano issues the managed one; failure_reason then reports an issuance failure. managed: a certificate Volcano issued.

failure_reason, string

Failure category, present when managed TLS setup has failed, or when issuance is failing for a domain that switched to managed TLS and still serves its uploaded certificate. Current values are provider, certificate, ownership, and internal; ownership means another account has already claimed the hostname through ownership verification. Treat unrecognized values as internal.

verification_records, FrontendDomainVerificationRecord[]

DNS records to publish now. For a managed domain whose hostname the account already owns, the create response names the _acme-challenge CNAME that authorizes certificate issuance and renewal. Otherwise it names the _volcano TXT record that proves ownership of the hostname's registrable domain, and reads return the CNAME once Volcano sees that record. Usually empty for BYOC.

required_routing_record, FrontendDomainRoutingRecord

Deprecated and no longer returned. Use routing_target_hostname as the DNS routing target.

routing_target_hostname, string

DNS routing target hostname for this frontend. The DNS record type depends on whether the custom domain is a zone apex.

effective_urls, string[] required
redirect, FrontendCustomDomainRedirect nullable required

Where the domain redirects every request, or null when it serves the frontend.

created_at, string date-time required
updated_at, string date-time required

Changes