Description
Show API verson details.
Request URL
Compute API v2.0 GET /v2
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header |
Normal response codes
OK (200)
Example
curl -i -X GET \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ -H "Accept: application/json" \ https://compute.tyo1.cloud.z.com/v2
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.cloud.z.com/v2/"
},
{
"rel": "describedby",
"type": "text/html",
"href": "https://cloud.z.com/"
}
],
"id": "v2.0",
"media-types": [
{
"base": "application/json"
},
{
"base": "application/xml"
}
],
"updated": "2015-05-12T09:00:00Z",
"status": "CURRENT"
}
}