Used to get a template
Name | Type | Required / Optional | Description | Restrictions |
---|---|---|---|---|
Fields | String | Optional | Select fields to include in the response, comma separated list of field names. Requesting only the needed fields improves response time, especially when omitting relation fields. Identifying field(s) are always included. |
|
Name | Type | Required / Optional | Description |
---|---|---|---|
Template name | String | Optional | Name of the template |
Created date | Timestamp | Required | The date the template was created |
Last updated date | Timestamp | Optional | The date the template was last updated |
Customer | String | Required | The customer handle |
The hostmaster | String | Required | The email address of the hostmaster |
The refresh time | Integer | Required | The time when the slave will try to refresh the zone from the master, in seconds |
The retry time | Integer | Required | The time between retries if the slave (secondary) fails to contact the master when refresh has expired, in seconds |
The expiry time | Integer | Required | Indicates when the zone data is no longer authoritative, in seconds |
The time to live | Integer | Required | The duration that the record may be cached, in seconds |
defaultRecords | List < defaultRecords > | Required | Default DNS records |
records | List < records > | Optional | DNS records |
Name | Type | Required / Optional | Description |
---|---|---|---|
Name | String | Required | The record name. ##DOMAIN## will be replaced by the domain name to which this template will be applied |
Type | Enum | Required |
The record type
Possible values:
|
Content | String | Required | Type specific content of the record |
TTL | Integer | Required | The duration that the record may be cached, in seconds |
Prio | Integer | Optional | The priority, mandatory if "type" is MX or SRV |
Name | Type | Required / Optional | Description |
---|---|---|---|
Name | String | Required | The record name. ##DOMAIN## will be replaced by the domain name to which this template will be applied |
Type | Enum | Required |
The record type
Possible values:
|
Content | String | Required | Type specific content of the record |
TTL | Integer | Required | The duration that the record may be cached, in seconds |
Prio | Integer | Optional | The priority, mandatory if "type" is MX or SRV |
Generic errors can be expected.
GET /v2/customers/customer/dnstemplates/template