mirror of https://github.com/GNS3/gns3-server
parent
bbc1505274
commit
d121c201e4
@ -0,0 +1,31 @@
|
|||||||
|
curl -i -X GET 'http://localhost:3080/v2/compute/capabilities'
|
||||||
|
|
||||||
|
GET /v2/compute/capabilities HTTP/1.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
HTTP/1.1 200
|
||||||
|
CONTENT-LENGTH: 316
|
||||||
|
CONTENT-TYPE: application/json
|
||||||
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||||
|
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||||
|
X-ROUTE: /v2/compute/capabilities
|
||||||
|
|
||||||
|
{
|
||||||
|
"node_types": [
|
||||||
|
"cloud",
|
||||||
|
"nat",
|
||||||
|
"ethernet_hub",
|
||||||
|
"ethernet_switch",
|
||||||
|
"vpcs",
|
||||||
|
"virtualbox",
|
||||||
|
"dynamips",
|
||||||
|
"frame_relay_switch",
|
||||||
|
"atm_switch",
|
||||||
|
"qemu",
|
||||||
|
"vmware",
|
||||||
|
"docker",
|
||||||
|
"iou"
|
||||||
|
],
|
||||||
|
"version": "2.0.0dev1"
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -1,18 +0,0 @@
|
|||||||
curl -i -X POST 'http://localhost:3080/v2/compute/version' -d '{"version": "2.0.0dev1"}'
|
|
||||||
|
|
||||||
POST /v2/compute/version HTTP/1.1
|
|
||||||
{
|
|
||||||
"version": "2.0.0dev1"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
HTTP/1.1 200
|
|
||||||
CONTENT-LENGTH: 30
|
|
||||||
CONTENT-TYPE: application/json
|
|
||||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
|
||||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
|
||||||
X-ROUTE: /v2/compute/version
|
|
||||||
|
|
||||||
{
|
|
||||||
"version": "2.0.0dev1"
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue