mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-27 01:08:33 +00:00
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
curl -i -X GET 'http://localhost:3080/v2/projects/a683bc42-6b18-4c1e-9497-23f11f5e60bc/links'
|
|
|
|
GET /v2/projects/a683bc42-6b18-4c1e-9497-23f11f5e60bc/links HTTP/1.1
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
|
Connection: close
|
|
Content-Length: 1111
|
|
Content-Type: application/json
|
|
Date: Thu, 29 Jun 2017 15:07:52 GMT
|
|
Server: Python/3.6 GNS3/2.1.0dev1
|
|
X-Route: /v2/projects/{project_id}/links
|
|
|
|
[
|
|
{
|
|
"capture_file_name": null,
|
|
"capture_file_path": null,
|
|
"capturing": false,
|
|
"link_id": "a810aca4-4e76-47a2-9a33-78dd3c5d0f21",
|
|
"link_type": "ethernet",
|
|
"nodes": [
|
|
{
|
|
"adapter_number": 0,
|
|
"label": {
|
|
"rotation": 0,
|
|
"style": "font-size: 10; font-style: Verdana",
|
|
"text": "0/3",
|
|
"x": -10,
|
|
"y": -10
|
|
},
|
|
"node_id": "13eee57f-4240-43eb-89f0-3cbe635f98d7",
|
|
"port_number": 3
|
|
},
|
|
{
|
|
"adapter_number": 2,
|
|
"label": {
|
|
"rotation": 0,
|
|
"style": "font-size: 10; font-style: Verdana",
|
|
"text": "2/4",
|
|
"x": -10,
|
|
"y": -10
|
|
},
|
|
"node_id": "a2102f85-9ca9-451e-aa67-f4c0f3dfc0a6",
|
|
"port_number": 4
|
|
}
|
|
],
|
|
"project_id": "a683bc42-6b18-4c1e-9497-23f11f5e60bc"
|
|
}
|
|
]
|