レコード一覧取得
Description
ドメインのレコード一覧を表示します。
Request URL
Designate API v1.0
GET /v1/domains/{domain_id}/records
Request Json
This operation does not accept a request body.
Request Parameters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | Userトークン | header | トークン発行 にて払い出されたID |
| domain_id | ドメインID | URI | ドメイン一覧表示にてご確認ください。 |
Response
-
Normal response codes
200
Example
-
Request
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: トークンID" \ https://dns-service.jpt1.cloud.z.com/v1/domains/ドメインID/records
-
Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 4618
X-Openstack-Request-Id: req-e02a56eb-e401-42bf-a40f-5cb5a480ba12
Date: Mon, 16 Mar 2020 09:49:07 GMT
{
"records": [
{
"created_at": "2019-02-05T08:15:11.000000",
"data": "レコード値.",
"description": 備考,
"domain_id": "ドメインID",
"gslb_check": null,
"gslb_region": null,
"gslb_weight": null,
"id": "レコードID",
"name": "ホスト.",
"priority": 優先度,
"ttl": TTL,
"type": "レコードタイプ",
"updated_at": null
},
{
"created_at": "2019-02-05T08:16:41.000000",
"data": "レコード値.",
"description": 備考,
"domain_id": "ドメインID",
"gslb_check": null,
"gslb_region": null,
"gslb_weight": null,
"id": "レコードID",
"name": "ホスト.",
"priority": 優先度,
"ttl": TTL,
"type": "レコードタイプ",
"updated_at": null
}
]
}