バージョン情報取得(DNS) | Z.com Cloud パブリッククラウド リファレンス

バージョン情報取得(DNS)

Description

バージョン情報を取得します。

Request URL

Designate API v1.0

GET /

Request Json

This operation does not accept a request body.

Request Parameters

This operation does not accept a request body.

Response

  • Normal response codes
300

Example

  • Request
curl -i -X GET \
-H "Accept: application/json" \
https://dns-service.jpt1.cloud.z.com/
  • Response
HTTP/1.1 300 MULTIPLE CHOICES
Content-Type: application/json
Content-Length: 465
Date: Fri, 13 Mar 2020 02:55:17 GMT

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