Description
Show NS hosting information of specified domain.

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 Token
domain_id - URI UUID Domain ID

Response Paramters

Parameter Value Style Type Description
id - plain UUID Name Server ID
name - plain string Name Server Hostname
created_at - plain string Creation Date
updated_at - plain string Update Date

Request Json



Normal response codes

200 - OK

Error response codes

401 – Access Denied
404 – Domain Not Found

Example

curl --include https://dns-service.tyo1.cloud.z.com/v1/domains/09494b72-b65b-4297-9efb-187f65a0553e/servers
-X GET
-H "Accept: application/json"
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140"
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.cloud.z.com.",
      "updated_at": null
    },
    {
      "created_at": "2015-04-21T05:50:34.000000",
      "id": "260c5bfa-410a-4085-94c0-41a8598a4f90",
      "name": "ns-a2.cloud.z.com.",
      "updated_at": null
    },
    {
      "created_at": "2015-04-21T05:50:39.000000",
      "id": "1a7ce799-cdb6-4743-95cd-718dd5ddb674",
      "name": "ns-a3.cloud.z.com.",
      "updated_at": null
    }
  ]
}