GET
/
org
/
{org}
/
domain
/
{name}
curl --request GET \
  --url https://api.cpln.io/org/{org}/domain/{name}
{
  "id": "<string>",
  "kind": "<string>",
  "version": 123,
  "description": "<string>",
  "tags": {},
  "created": "2023-11-07T05:31:56Z",
  "lastModified": "2023-11-07T05:31:56Z",
  "links": [
    {
      "rel": "<string>",
      "href": "<string>"
    }
  ],
  "name": "<string>",
  "spec": {
    "dnsMode": "cname",
    "gvcLink": "<string>",
    "acceptAllHosts": true,
    "ports": [
      {
        "number": 123,
        "protocol": "http",
        "routes": [
          {
            "replacePrefix": "<string>",
            "regex": "<string>",
            "prefix": "<string>",
            "workloadLink": "<string>",
            "port": 123,
            "hostPrefix": "<string>"
          }
        ],
        "cors": {
          "allowOrigins": [
            {
              "exact": "<string>"
            }
          ],
          "allowMethods": [
            "<string>"
          ],
          "allowHeaders": [
            "<string>"
          ],
          "exposeHeaders": [
            "<string>"
          ],
          "maxAge": "<string>",
          "allowCredentials": true
        },
        "tls": {
          "minProtocolVersion": "TLSV1_2",
          "cipherSuites": [
            "ECDHE-ECDSA-AES256-GCM-SHA384"
          ],
          "clientCertificate": {
            "secretLink": "<string>"
          },
          "serverCertificate": {
            "secretLink": "<string>"
          }
        }
      }
    ]
  },
  "status": {
    "endpoints": [
      {
        "url": "<string>",
        "workloadLink": "<string>"
      }
    ],
    "status": "initializing",
    "warning": "<string>",
    "locations": [
      {
        "name": "<string>",
        "certificateStatus": "initializing"
      }
    ],
    "fingerprint": "<string>",
    "dnsConfig": [
      {
        "type": "<string>",
        "ttl": 123,
        "host": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
headerrequired

Service account key can be used as API keys

Path Parameters

org
string
required
name
string
required

Response

200 - application/json
id
string
kind
string
version
integer
description
string
tags
object
created
string
lastModified
string
links
object[]
name
string
spec
object
status
object