Dns-franchise-zone-rr:GET
(Difference between revisions)
Mike.robski (Talk | contribs) m (1 revision: Release 93) |
|||
| Line 21: | Line 21: | ||
: Optional. Specifies the page to return in paginated response. Default is 1. | : Optional. Specifies the page to return in paginated response. Default is 1. | ||
| − | ; | + | ; page_size - ''number'' |
: Optional. Specifies the number of records per page. | : Optional. Specifies the number of records per page. | ||
| Line 51: | Line 51: | ||
"ttl": {ttl}, | "ttl": {ttl}, | ||
"address": "{ipv6_address}", | "address": "{ipv6_address}", | ||
| − | |||
| − | |||
| − | |||
}, | }, | ||
{ | { | ||
| Line 61: | Line 58: | ||
"ttl": {ttl}, | "ttl": {ttl}, | ||
"address": "{ipv4_address}", | "address": "{ipv4_address}", | ||
| − | |||
| − | |||
| − | |||
} | } | ||
], | ], | ||
Revision as of 16:46, 14 January 2015
GET /dns/{franchise}/{zone}/rr
Returns the resource records for a specific DNS zone.
Contents |
Request
GET /dns/{franchise}/{zone}/rr
Parameters
- franchise - string
- franchise
- zone - string
- The name of the DNS zone.
URI Parameters
- name
- Optional. Specifies the record name to use to filter results.
- type
- Optional. Specifies the type of records to return: A, AAAA, NS, TXT, SRV, MX, CNAME
- page - number
- Optional. Specifies the page to return in paginated response. Default is 1.
- page_size - number
- Optional. Specifies the number of records per page.
Request Headers
- Authorization
- Base64-encoded username:password string
Response
Status Code
- 200 OK
- Success
- 401 Unauthorized
- The server could not verify the credentials from the authorization header.
- 404 Not Found
- The specified zone does not exist.
Response Body
{
"count": 2,
"list": [
{
"id": {id},
"name": "{domain}",
"type: "AAAA",
"ttl": {ttl},
"address": "{ipv6_address}",
},
{
"id": {id},
"name": "{domain}",
"type: "A",
"ttl": {ttl},
"address": "{ipv4_address}",
}
],
"page": 1,
"pageSize": 10,
}
See also