mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 15:28:11 +00:00
Update docs
This commit is contained in:
15
docs/api/notifications/compute.created.json
Normal file
15
docs/api/notifications/compute.created.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"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"
|
||||
}
|
15
docs/api/notifications/compute.deleted.json
Normal file
15
docs/api/notifications/compute.deleted.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"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"
|
||||
}
|
15
docs/api/notifications/compute.updated.json
Normal file
15
docs/api/notifications/compute.updated.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"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"
|
||||
}
|
9
docs/api/notifications/drawing.created.json
Normal file
9
docs/api/notifications/drawing.created.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"drawing_id": "377bccc0-779a-44b0-ab5e-98dfd6dc46cd",
|
||||
"project_id": "adb641a0-8ec9-4b5a-b8df-cc993638c601",
|
||||
"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
|
||||
}
|
9
docs/api/notifications/drawing.deleted.json
Normal file
9
docs/api/notifications/drawing.deleted.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"drawing_id": "b2f8b12f-a4cc-4621-affc-cf3dcd4ba513",
|
||||
"project_id": "24ef7002-5dd6-4054-bf8a-d2aface0885e",
|
||||
"rotation": 0,
|
||||
"svg": "<svg></svg>",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
8
docs/api/notifications/drawing.updated.json
Normal file
8
docs/api/notifications/drawing.updated.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"drawing_id": "d86ab88f-28bf-4f22-aa4e-e6d3c423b98c",
|
||||
"project_id": "8f53f0f7-9967-4a01-884f-36ea1800e5ef",
|
||||
"rotation": 0,
|
||||
"x": 42,
|
||||
"y": 20,
|
||||
"z": 0
|
||||
}
|
3
docs/api/notifications/ignore.json
Normal file
3
docs/api/notifications/ignore.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"project_id": 42
|
||||
}
|
34
docs/api/notifications/link.created.json
Normal file
34
docs/api/notifications/link.created.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "9b74fb50-652a-47de-aa7a-f936fad2623a",
|
||||
"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": "009935d3-bb71-48ee-8f8c-4160ecf36a1f",
|
||||
"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": "efd15e6d-cc6d-4b85-8e11-0389806f7231",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "19def516-231c-4a43-8fdb-1d49333c1f8e"
|
||||
}
|
9
docs/api/notifications/link.deleted.json
Normal file
9
docs/api/notifications/link.deleted.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "105966d0-8a04-4cf5-95a4-ff13f1de7660",
|
||||
"link_type": "ethernet",
|
||||
"nodes": [],
|
||||
"project_id": "42a1b682-b5bf-4de4-b5af-5366fc20a111"
|
||||
}
|
32
docs/api/notifications/link.updated.json
Normal file
32
docs/api/notifications/link.updated.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "fab9fae2-1ca7-48a5-a3bf-e6cdebf7d89f",
|
||||
"link_type": "ethernet",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"label": {
|
||||
"text": "Hello",
|
||||
"x": 64,
|
||||
"y": 0
|
||||
},
|
||||
"node_id": "d978c6d1-4503-46ce-a11c-432b7dace22c",
|
||||
"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": "d1779d19-320a-471b-9d50-91dd3d3f3ecd",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "e49cdc9f-ce2d-48b4-a317-7107f4c2c520"
|
||||
}
|
3
docs/api/notifications/log.error.json
Normal file
3
docs/api/notifications/log.error.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"message": "Permission denied on /tmp"
|
||||
}
|
3
docs/api/notifications/log.info.json
Normal file
3
docs/api/notifications/log.info.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"message": "Image uploaded"
|
||||
}
|
3
docs/api/notifications/log.warning.json
Normal file
3
docs/api/notifications/log.warning.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"message": "Warning ASA 8 is not officialy supported by GNS3"
|
||||
}
|
3
docs/api/notifications/node.created.json
Normal file
3
docs/api/notifications/node.created.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"a": "b"
|
||||
}
|
45
docs/api/notifications/node.updated.json
Normal file
45
docs/api/notifications/node.updated.json
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"command_line": "",
|
||||
"compute_id": "local",
|
||||
"console": 5006,
|
||||
"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": "PC2",
|
||||
"x": 18,
|
||||
"y": -25
|
||||
},
|
||||
"name": "PC2",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_open0/project-files/vpcs/748bcd89-624a-40eb-a8d3-1d2e85c99b51",
|
||||
"node_id": "748bcd89-624a-40eb-a8d3-1d2e85c99b51",
|
||||
"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": {
|
||||
"startup_script": "",
|
||||
"startup_script_path": "startup.vpc"
|
||||
},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": -71,
|
||||
"y": -98,
|
||||
"z": 1
|
||||
}
|
3
docs/api/notifications/ping.json
Normal file
3
docs/api/notifications/ping.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"compute_id": 12
|
||||
}
|
12
docs/api/notifications/project.closed.json
Normal file
12
docs/api/notifications/project.closed.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0vixjsro/projects/74bd9388-bd2e-41cc-b8da-d014cfb9f908",
|
||||
"project_id": "74bd9388-bd2e-41cc-b8da-d014cfb9f908",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"status": "closed"
|
||||
}
|
12
docs/api/notifications/project.updated.json
Normal file
12
docs/api/notifications/project.updated.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test2",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe4g8gdv7/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"status": "opened"
|
||||
}
|
3
docs/api/notifications/settings.updated.json
Normal file
3
docs/api/notifications/settings.updated.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"test": true
|
||||
}
|
6
docs/api/notifications/snapshot.restored.json
Normal file
6
docs/api/notifications/snapshot.restored.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"created_at": 1490088724,
|
||||
"name": "test",
|
||||
"project_id": "ecb64cf5-aec7-469a-a367-3d16f4377cd7",
|
||||
"snapshot_id": "7e0bb824-e0aa-4ff1-b4f8-8453e99cb1bd"
|
||||
}
|
1
docs/api/notifications/test.json
Normal file
1
docs/api/notifications/test.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
Reference in New Issue
Block a user