ネームサーバー情報表示

Description

指定したドメインのネームサーバー情報を表示します。

Request URL

Designate API v1.0

GET /v1/domains/{domain_id}/servers

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/servers
  • Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 513
X-Openstack-Request-Id: req-fc80f395-f025-468d-bf70-7056b4e2a129
Date: Fri, 13 Mar 2020 03:03:30 GMT

{
  "servers": [
    {
      "brand": "zjp",
      "created_at": "2015-08-27T12:00:00.000000",
      "id": null,
      "name": "ns-a1.zc-dns.com.",
      "updated_at": null
    },
    {
      "brand": "zjp",
      "created_at": "2015-08-27T12:00:00.000000",
      "id": null,
      "name": "ns-a3.zc-dns.org.",
      "updated_at": null
    },
    {
      "brand": "zjp",
      "created_at": "2015-08-27T12:00:00.000000",
      "id": null,
      "name": "ns-a2.zc-dns.net.",
      "updated_at": null
    }
  ]
}

Internet for everyone

Copyright (c) 2024 GMO Internet Group, Inc. All Rights Reserved.