Add missing doc pages.

pull/1389/head
grossmj 6 years ago
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>&#10004;</td> <td>enum</td> <td>Possible values: hda, hdb, hdc, hdd</td> </tr>
<tr><td>extend</td> <td>&#10004;</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

@ -0,0 +1,8 @@
Notification
-----------------------------
.. toctree::
:glob:
:maxdepth: 2
notification/*

@ -0,0 +1,13 @@
/v2/notifications
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
GET /v2/notifications
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Receive notifications about the controller
Response status codes
**********************
- **200**: End of stream

@ -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

@ -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…
Cancel
Save