ユーザーガイド/リファレンスガイド

バージョン情報詳細取得(Compute)

Description

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

Request URL

Compute API v2.0
GET /v2

Request Json

This operation does not accept a request body.

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID

Response

Normal response codes

200

Example

Request

curl -i -X GET \
-H “Accept: application/json” \
-H “Content-Type: application/json” \
-H “X-Auth-Token: トークンID”\
https://compute.odc01.eva-clouds.com/v2/

Response

HTTP/1.1 200 OK
Date: Tue, 19 Jul 2016 01:25:27 GMT
Server: Apache
Content-Length: 303
Content-Type: application/json

{
    “version”: {
        “id”: “v2.0”,
         “links”: [
            {
                “href”: “https://compute.odc01.eva-clouds.com/v2/”,
                 “rel”: “self”
            },
             {
                “href”: “https://s-port.eva-clouds.com/”,
                 “rel”: “describedby”,
                 “type”: “text/html”
            }
        ],
         “media-types”: [
            {
                “base”: “application/json”
            },
             {
                “base”: “application/xml”
            }
        ],
         “status”: “CURRENT”,
         “updated”: “2016-08-15T09:00:00Z”
    }
}