Description

List API versions.

Request URL

Designate API v1.0

GET /

Request Paramters

This operation does not accept a request body.

Normal response codes

Multiple Choices (300)

Error response codes

Example

curl -i -X GET \
-H "Accept: application/json" \
https://dns-service.tyo1.cloud.z.com/
HTTP/1.1 300 Multiple Choices
Date: Fri, 19 Dec 2014 07:19:49 GMT
Server: Apache
Content-Length: 150
Content-Type: application/json

{
  "versions": {
    "values": [
      {
        "id": "v1",
        "links": [
          {
            "href": "https://dns-service.tyo1.cloud.z.com/v1",
            "rel": "self"
          }
        ],
        "status": "CURRENT"
      },
      {
        "id": "v2",
        "links": [
          {
            "href": "https://dns-service.tyo1.cloud.z.com/v2",
            "rel": "self"
          }
        ],
        "status": "EXPERIMENTAL"
      }
    ]
  }
}