mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-19 07:48:10 +00:00
Update documentations
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes'
|
||||
|
||||
GET /v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes HTTP/1.1
|
||||
GET /v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1264
|
||||
Content-Length: 1305
|
||||
Content-Type: application/json
|
||||
Date: Thu, 20 Oct 2016 08:52:49 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev2
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
X-Route: /v2/projects/{project_id}/nodes
|
||||
|
||||
[
|
||||
@ -16,7 +16,7 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_host": "<MagicMock name='mock.console_host' id='4552667992'>",
|
||||
"console_type": null,
|
||||
"first_port_name": null,
|
||||
"height": 59,
|
||||
@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "25b75f46-61a5-4931-9d6e-18b32f0e7533",
|
||||
"node_id": "efe73b73-94c6-40d8-bdaf-df0e2948940c",
|
||||
"node_type": "vpcs",
|
||||
"port_name_format": "Ethernet{0}",
|
||||
"port_segment_size": 0,
|
||||
@ -45,7 +45,7 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
"short_name": "e0/0"
|
||||
}
|
||||
],
|
||||
"project_id": "9376e8ee-f9ee-4a3d-943c-a6b54c2ae475",
|
||||
"project_id": "a75e8c91-cb8a-4d9f-8d66-8180793b3c1c",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
Reference in New Issue
Block a user