Description
List records in a domain.

Request URL

Designate API v1.0

GET /v1/domains/(uuid: domain_id)/records

Request Paramters

Parameter Value Style Type Description
X-Auth-Token - header string User Token
domain_id - URI UUID Domain ID

Response Paramters

Parameter Value Style Type Description
records - - list -
domain_id - plain UUID Domain ID
id - plain UUID Record ID
name - plain string Record Name
type - plain string Record Type
created_at - plain string Creation Date
updated_at - plain string Update Date
priority - plain int Priority
ttl - plain int TTL(second)
data - plain string Record Data
description - plain string Description
gslb_region [JP/US/SG] plain string GSLB Region Code
gslb_weight [0~255] plain int GSLB Priority
gslb_check [0:OFF/PortNo.] plain int GSLB Health Check Port

Request Json



Normal response codes

200 - OK

Error response codes

401 – Access Denied

Example

curl --include https://dns-service.tyo1.cloud.z.com/v1/domains/89acac79-38e7-497d-807c-a011e1310438/records
-X GET
-H "Accept: application/json"
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140"
HTTP/1.1 200 OK
Server: openresty/1.7.10.1
Content-Type: application/json
Content-Length: 1209
Date: Sun, 04 Nov 2012 13:58:21 GMT

{
  "records": [
    {
      "id": "2e32e609-3a4f-45ba-bdef-e50eacd345ad",
      "name": "www.example.com.",
      "type": "A",
      "ttl": 3600,
      "created_at": "2012-11-02T19:56:26.000000",
      "updated_at": "2012-11-04T13:22:36.000000",
      "data": "15.185.172.153",
      "domain_id": "89acac79-38e7-497d-807c-a011e1310438",
      "version": 1,
      "gslb_region": "JP",
      "gslb_weight": 250,
      "gslb_check": 12300
    },
    {
      "id": "8e9ecf3e-fb92-4a3a-a8ae-7596f167bea3",
      "name": "host1.example.com.",
      "type": "A",
      "ttl": 3600,
      "created_at": "2012-11-04T13:57:50.000000",
      "updated_at": null,
      "data": "15.185.172.154",
      "domain_id": "89acac79-38e7-497d-807c-a011e1310438",
      "version": 1,
      "gslb_region": "US",
      "gslb_weight": 220,
      "gslb_check": 12200
    },
    {
      "id": "4ad19089-3e62-40f8-9482-17cc8ccb92cb",
      "name": "web.example.com.",
      "type": "CNAME",
      "ttl": 3600,
      "created_at": "2012-11-04T13:58:16.393735",
      "updated_at": null,
      "data": "www.example.com.",
      "domain_id": "89acac79-38e7-497d-807c-a011e1310438",
      "version": 1
    }
  ]
}