バージョン情報詳細取得(Compute)
Description
バージョンの詳細情報を取得します。
Request URL
Compute API v2.0 GET /v2
Request Json
This operation does not accept a request body.
Request Parameters
| 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.jpt1.cloud.z.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.jpt1.cloud.z.com/v2/",
"rel": "self"
},
{
"href": "https://cloud.z.com/",
"rel": "describedby",
"type": "text/html"
}
],
"media-types": [
{
"base": "application/json"
},
{
"base": "application/xml"
}
],
"status": "CURRENT",
"updated": "2016-08-15T09:00:00Z"
}
}