Description
Show record details.

Request URL

Designate API v1.0

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

Request Paramters

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

Response Paramters

Parameter Value Style Type Description
domain_id - plain UUID Domain ID
id - plain string Record ID
name - plain string name of record FQDN
type [A/AAAA/MX/CNAME/TXT/SRV/NS/PTR] plain string Record Type
created_at - plain string Creation Date
updated_at - plain string Update Date
ttl - plain int TTL(second)
data - plain string Record Data
priority - plain string Priority
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
404 – Record Not Found

Example

curl --include https://dns-service.tyo1.cloud.z.com/v1/domains/09494b72b65b42979efb187f65a0553e/records/2e32e609-3a4f-45ba-bdef-e50eacd345ad
-X GET
-H "Accept: application/json"
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140"
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json

{
  "id": "2e32e609-3a4f-45ba-bdef-e50eacd345ad",
  "name": "www.example.com.",
  "type": "A",
  "created_at": "2012-11-02T19:56:26.366792",
  "updated_at": "2012-11-04T13:22:36.859786",
  "ttl": 3600,
  "data": "15.185.172.153",
  "domain_id": "89acac79-38e7-497d-807c-a011e1310438"
}