MENU

Description

バージョン情報詳細取得

Request URL

Compute API v2.0

GET /v2

Request Paramters

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

Normal response codes

OK (200)

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X GET \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
-H "Accept: application/json" \
https://compute.tyo1.conoha.io/v2
  • RES
HTTP/1.1 200 OK
Date: Fri, 19 Dec 2014 07:20:59 GMT
Server: Apache
Content-Length: 301
Content-Type: application/json

{
    "version": {
        "links": [
            {
                "rel": "self",
                "href": "https://compute.tyo1.conoha.io/v2/"
            },
            {
                "rel": "describedby",
                "type": "text/html",
                "href": "https://www.example.jp/docs/"
            }
        ],
        "id": "v2.0",
        "media-types": [
            {
                "base": "application/json"
            },
            {
                "base": "application/xml"
            }
        ],
        "updated": "2015-05-12T09:00:00Z",
        "status": "CURRENT"
    }
}