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

23 lines
475 B
Plaintext
Raw Normal View History

2015-01-21 18:21:17 +02:00
curl -i -X GET 'http://localhost:8000/vpcs/{uuid}'
GET /vpcs/{uuid} HTTP/1.1
HTTP/1.1 200
2015-02-04 11:31:31 +02:00
CONNECTION: keep-alive
2015-02-04 03:44:04 +02:00
CONTENT-LENGTH: 211
2015-01-21 18:21:17 +02:00
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2015-02-04 11:31:31 +02:00
SERVER: Python/3.4 GNS3/1.3.dev1
X-ROUTE: /v1/vpcs/{uuid}
2015-01-21 18:21:17 +02:00
{
2015-01-26 10:36:26 +02:00
"console": 2003,
2015-01-21 18:21:17 +02:00
"name": "PC TEST 1",
2015-02-04 03:44:04 +02:00
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
2015-01-21 18:21:17 +02:00
"script_file": null,
"startup_script": null,
2015-02-04 11:31:31 +02:00
"uuid": "c505f88b-7fe1-4985-9aca-a3798f6659ab"
2015-01-21 18:21:17 +02:00
}