gns3-server/docs/api/examples/get_projectsprojectidiouvmsvmid.txt

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-01-04 16:04:15 +00:00
curl -i -X GET 'http://localhost:8000/v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/82f6e25c-6960-421d-9567-a7453642935b'
2015-02-24 10:38:57 +00:00
2016-01-04 16:04:15 +00:00
GET /v1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/82f6e25c-6960-421d-9567-a7453642935b HTTP/1.1
2015-02-24 10:38:57 +00:00
HTTP/1.1 200
2015-07-09 14:16:43 +00:00
ACCESS-CONTROL-ALLOW-ORIGIN: *
2015-02-24 10:38:57 +00:00
CONNECTION: keep-alive
2016-01-04 16:04:15 +00:00
CONTENT-LENGTH: 610
2015-02-24 10:38:57 +00:00
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2016-01-04 16:04:15 +00:00
SERVER: Python/3.5 GNS3/1.4.0dev13
2015-02-24 10:38:57 +00:00
X-ROUTE: /v1/projects/{project_id}/iou/vms/{vm_id}
{
2016-01-04 16:04:15 +00:00
"console": 2001,
2015-02-24 10:38:57 +00:00
"ethernet_adapters": 2,
"iourc_path": null,
2015-02-24 10:38:57 +00:00
"l1_keepalives": false,
2016-01-04 16:04:15 +00:00
"md5sum": null,
2015-02-24 10:38:57 +00:00
"name": "PC TEST 1",
"nvram": 128,
2016-01-04 16:04:15 +00:00
"path": "iou.bin",
2015-06-10 12:35:53 +00:00
"private_config": null,
2015-02-24 10:38:57 +00:00
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
2015-06-10 12:35:53 +00:00
"startup_config": null,
"use_default_iou_values": true,
2016-01-04 16:04:15 +00:00
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2yt9sd1l/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/82f6e25c-6960-421d-9567-a7453642935b",
"vm_id": "82f6e25c-6960-421d-9567-a7453642935b"
2015-02-24 10:38:57 +00:00
}