Cloud
The custom domain object
Your own domain in front of a service: a subdomain (a CNAME) or a zone apex (A records). Dispra checks the DNS records, proves you own the domain and issues its certificate.
Attributes
domstring: The domain's id.domainstring: The domain name.svcstring: The service it reaches.statusstring: pending_dns, verifying, issuing_certificate, active or failed.portnumber: The container port it forwards to, or null for the port the image exposes.recordsarray: The DNS records to create, each with what the last check found.certificatestring: none, issuing or active.
Example
{
"data": {
"dom": "dom_01jdk5g7h9j1k3l5z7x9c1v3bn",
"domain": "api.acme.com",
"svc": "svc_01jdk3n2f4g6h8j0k2l4z6x8ca",
"status": "active",
"port": 3000,
"records": [{"type":"CNAME","name":"api.acme.com","value":"x8ca.global.dispracloud.app","ok":true}],
"certificate": "active"
}
}