Update API documentation. Fixes #1253.

This commit is contained in:
grossmj committed 2018-01-08 11:57:07 +07:00
1 parent e8353e68bb
commit ffe21f6b73
324 files changed
+1168 -14199

No files matched your search

@@ -1,15 +0,0 @@
{
"capabilities": {
"node_types": [],
"version": null
},
"compute_id": "my_compute",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
"protocol": "http",
"user": "julien"
}
@@ -1,15 +0,0 @@
{
"capabilities": {
"node_types": [],
"version": null
},
"compute_id": "my_compute_id",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
"protocol": "http",
"user": "julien"
}
@@ -1,15 +0,0 @@
{
"capabilities": {
"node_types": [],
"version": null
},
"compute_id": "my_compute_id",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
"protocol": "https",
"user": "julien"
}
@@ -1,9 +0,0 @@
{
"drawing_id": "1804b301-3f1d-47d6-b8cf-201c29ffcdc5",
"project_id": "b23bbc6f-56fa-4954-8adc-45a074875bb8",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,
"y": 20,
"z": 0
}
@@ -1,9 +0,0 @@
{
"drawing_id": "f5852a28-616a-4e2c-a288-2184daecd0dc",
"project_id": "9e3eaf56-ac31-4b2f-a84f-b3874b0fc0b9",
"rotation": 0,
"svg": "<svg></svg>",
"x": 0,
"y": 0,
"z": 0
}
@@ -1,8 +0,0 @@
{
"drawing_id": "72443701-e923-4216-a5a4-75eb9ef77ac6",
"project_id": "03008748-5d81-433b-a62c-fb77c245cdc7",
"rotation": 0,
"x": 42,
"y": 20,
"z": 0
}
-3
View File
@@ -1,3 +0,0 @@
{
"project_id": 42
}
-34
View File
@@ -1,34 +0,0 @@
{
"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"
}
-9
View File
@@ -1,9 +0,0 @@
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "998e514e-d9a3-4de5-a940-13845f96fe55",
"link_type": "ethernet",
"nodes": [],
"project_id": "0e7e02c1-1864-46e3-a0ec-de2d3860ed66"
}
-32
View File
@@ -1,32 +0,0 @@
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "2211ed32-8333-41ec-bf10-8bfcd7953239",
"link_type": "ethernet",
"nodes": [
{
"adapter_number": 0,
"label": {
"text": "Hello",
"x": 64,
"y": 0
},
"node_id": "1ef55a34-a4a3-4654-a8a8-5b78ee2d14a7",
"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": "1084d14e-fc5c-424d-a5e5-b2c7c1dbbae1",
"port_number": 4
}
],
"project_id": "a29c3a9d-06cc-4931-a2cc-cd8098975e9b"
}
-3
View File
@@ -1,3 +0,0 @@
{
"message": "Permission denied on /tmp"
}
-3
View File
@@ -1,3 +0,0 @@
{
"message": "Image uploaded"
}
-3
View File
@@ -1,3 +0,0 @@
{
"message": "Warning ASA 8 is not officialy supported by GNS3"
}
-3
View File
@@ -1,3 +0,0 @@
{
"a": "b"
}
-42
View File
@@ -1,42 +0,0 @@
{
"command_line": "",
"compute_id": "local",
"console": 5004,
"console_host": "localhost",
"console_type": "telnet",
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "PC1",
"x": 18,
"y": -25
},
"name": "PC1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_open0/project-files/vpcs/64ba8408-afbf-4b66-9cdd-1fd854427478",
"node_id": "64ba8408-afbf-4b66-9cdd-1fd854427478",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0"
}
],
"project_id": "3c1be6f9-b4ba-4737-b209-63c47c23359f",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",
"width": 65,
"x": -300,
"y": -118,
"z": 1
}
-3
View File
@@ -1,3 +0,0 @@
{
"compute_id": 12
}
@@ -1,12 +0,0 @@
{
"auto_close": true,
"auto_open": false,
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgw7miucs/projects/87aa91b7-b34e-43bd-a7c4-185dcf135498",
"project_id": "87aa91b7-b34e-43bd-a7c4-185dcf135498",
"scene_height": 1000,
"scene_width": 2000,
"status": "closed"
}
@@ -1,12 +0,0 @@
{
"auto_close": true,
"auto_open": false,
"auto_start": false,
"filename": "test.gns3",
"name": "test2",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmplj6wxbgc/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
}
@@ -1,4 +0,0 @@
{
"modification_uuid": "8c59037b-2cc6-4d4d-be9b-e072fb0eee2a",
"test": true
}
@@ -1,6 +0,0 @@
{
"created_at": 1498748889,
"name": "test",
"project_id": "2b383355-2997-4f86-8b73-0582ae4c834b",
"snapshot_id": "f9c9a4d9-9276-44c8-9024-6c1f6f5d19c2"
}
-1
View File
@@ -1 +0,0 @@
{}