curl -i -X GET 'http://localhost:3080/v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links'

GET /v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links HTTP/1.1



HTTP/1.1 200
Content-Length: 1111
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:18 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/links

[
    {
        "capture_file_name": null,
        "capture_file_path": null,
        "capturing": false,
        "link_id": "ca268d39-d533-4182-87da-16ef58fbf230",
        "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": "c824d9de-a001-47e4-bbce-9fee0533c10c",
                "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": "1a1944d6-405f-44cc-9c97-40c753b213f2",
                "port_number": 4
            }
        ],
        "project_id": "2295ee85-fc8b-4fa2-878c-914ff651c4a8"
    }
]
