/v2/compute/version¶
GET /v2/compute/version¶
Retrieve the server version number
Response status codes¶
- 200: OK
Output¶
Name | Mandatory | Type | Description |
---|---|---|---|
local | boolean | Whether this is a local server or not | |
version | ✔ | string | Version number |
Sample session¶
curl -i -X GET 'http://localhost:3080/v2/compute/version'
GET /v2/compute/version HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 49
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:34:57 GMT
Server: Python/3.5 GNS3/2.1.8dev1
X-Route: /v2/compute/version
{
"local": true,
"version": "2.1.8dev1"
}