ves-io-schema-dns_domain-API-List

Examples of listing dns_domain

Usecase:

List dns-domain

Request using vesctl:

vesctl configuration list dns_domain --namespace system

vesctl yaml response:

items:
- labels: {}
  name: example.com
  namespace: system
  statusSet: []
  tenant: acmecorp
  uid: 00284510-4fe9-4cd7-b908-e167fcbdf81d

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build896999001_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/dns_domains'

curl response

HTTP/1.1 200 OK
Content-Length: 300
Content-Type: application/json
Date: Fri, 31 Jul 2020 12:54:08 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "system",
      "name": "example.com",
      "uid": "00284510-4fe9-4cd7-b908-e167fcbdf81d",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}