ConoHa API Documantation

ドメインホスティング情報表示 - DNS API v1.0

Description
指定したドメインのNSホスティング情報を表示する

Request URL

Designate API v1.0

GET /v1/domains/(uuid: id)/servers

Request Paramters

Parameter Value Style Type Description
X-Auth-Token - header string Userトークン
domain_id - URI UUID ドメインID

Response Paramters

Parameter Value Style Type Description
id - plain UUID ネームサーバID
name - plain string ネームサーバホスト名
created_at - plain string 作成日
updated_at - plain string 更新日

Request Json



Normal response codes

200 - OK

Error response codes

401 – Access Denied
404 – Domain Not Found

Example

  • REQ
curl --include https://dns-service.tyo1.conoha.io/v1/domains/09494b72-b65b-4297-9efb-187f65a0553e/servers \
-X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140"
  • RES
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
{
  "servers": [
    {
      "created_at": "2015-04-21T05:50:26.000000",
      "id": "0093b24f-6a8a-4201-80a6-9b13e898c68d",
      "name": "ns-a1.conoha.io.",
      "updated_at": null
    },
    {
      "created_at": "2015-04-21T05:50:34.000000",
      "id": "260c5bfa-410a-4085-94c0-41a8598a4f90",
      "name": "ns-a2.conoha.io.",
      "updated_at": null
    },
    {
      "created_at": "2015-04-21T05:50:39.000000",
      "id": "1a7ce799-cdb6-4743-95cd-718dd5ddb674",
      "name": "ns-a3.conoha.io.",
      "updated_at": null
    }
  ]
}