The response will be a JSON object with a key called domain. The value of this will be an object that contains the standard attributes defined for a domain.
Click to expand an example response.
{"domain":{"name":"example.com","ttl":1800,"zone_file":"$ORIGIN example.com.\n$TTL 1800\nexample.com. IN SOA ns1.digitalocean.com. hostmaster.example.com. 1415982611 10800 3600 604800 1800\nexample.com. 1800 IN NS ns1.digitalocean.com.\nexample.com. 1800 IN NS ns2.digitalocean.com.\nexample.com. 1800 IN NS ns3.digitalocean.com.\nexample.com. 1800 IN A 1.2.3.4\n"}}
Unauthorized
Click to expand an example response.
{"id":"unauthorized","message":"Unable to authenticate you."}
The resource was not found.
Click to expand an example response.
{"id":"not_found","message":"The resource you requested could not be found."}