mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 00:08:11 +00:00
Add missing doc pages.
This commit is contained in:
parent
8699f2e2b0
commit
1e33e94c15
@ -0,0 +1,29 @@
|
|||||||
|
/v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resize_disk
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v2/compute/projects/**{project_id}**/qemu/nodes/**{node_id}**/resize_disk
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Resize a Qemu VM disk image
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: Project UUID
|
||||||
|
- **node_id**: Node UUID
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **201**: Instance updated
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
|
||||||
|
Input
|
||||||
|
*******
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
||||||
|
<tr><td>drive_name</td> <td>✔</td> <td>enum</td> <td>Possible values: hda, hdb, hdc, hdd</td> </tr>
|
||||||
|
<tr><td>extend</td> <td>✔</td> <td>integer</td> <td>Number of Megabytes to extend the image</td> </tr>
|
||||||
|
</table>
|
||||||
|
|
@ -0,0 +1,20 @@
|
|||||||
|
/v2/projects/{project_id}/nodes/{node_id}/resize_disk
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
POST /v2/projects/**{project_id}**/nodes/**{node_id}**/resize_disk
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Reload a node instance
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: Project UUID
|
||||||
|
- **node_id**: Node UUID
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **400**: Invalid request
|
||||||
|
- **201**: Disk image resized
|
||||||
|
- **404**: Instance doesn't exist
|
||||||
|
|
8
docs/api/v2/controller/notification.rst
Normal file
8
docs/api/v2/controller/notification.rst
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Notification
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:glob:
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
notification/*
|
13
docs/api/v2/controller/notification/notifications.rst
Normal file
13
docs/api/v2/controller/notification/notifications.rst
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/v2/notifications
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
GET /v2/notifications
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Receive notifications about the controller
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **200**: End of stream
|
||||||
|
|
13
docs/api/v2/controller/notification/notificationsws.rst
Normal file
13
docs/api/v2/controller/notification/notificationsws.rst
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/v2/notifications/ws
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
GET /v2/notifications/ws
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Receive notifications about controller from a Websocket
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **200**: End of stream
|
||||||
|
|
18
docs/api/v2/controller/project/projectsprojectidstats.rst
Normal file
18
docs/api/v2/controller/project/projectsprojectidstats.rst
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/v2/projects/{project_id}/stats
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
|
||||||
|
GET /v2/projects/**{project_id}**/stats
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Get a project statistics
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
**********
|
||||||
|
- **project_id**: Project UUID
|
||||||
|
|
||||||
|
Response status codes
|
||||||
|
**********************
|
||||||
|
- **200**: Project statistics returned
|
||||||
|
- **404**: The project doesn't exist
|
||||||
|
|
Loading…
Reference in New Issue
Block a user