Retrieve Domains in DigitalOcean.
View Specific Information
Digital Ocean supports only Name column with "=" operator as filter criteria for this view.
SELECT * FROM Domains WHERE Name='www.example.com'
You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any other search criteria will be ignored and an unfiltered response will be returned.
|Name [KEY]||String||The name of the domain itself. This must follow the standard domain format of 'domain.TLD.' For instance, example.com is a valid domain name.|
|Ttl||Integer||This value is the time to live for the records on this domain, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.|
|ZoneFile||String||This attribute contains the complete contents of the zone file for the selected domain. It is recommended to use individual domain record resources to have more granular control over records. However, this attribute can also be used to get information about the SOA record which is created automatically and is not accessible as an individual record resource.|