mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Update docs
This commit is contained in:
232 files changed
+5063
No files matched your search
@@ -11,6 +11,12 @@ Response status codes
|
||||
**********************
|
||||
- **200**: OK
|
||||
|
||||
Sample session
|
||||
***************
|
||||
|
||||
|
||||
.. literalinclude:: ../../../examples/controller_get_settings.txt
|
||||
|
||||
|
||||
POST /v2/settings
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -20,3 +26,9 @@ Response status codes
|
||||
**********************
|
||||
- **201**: Writed
|
||||
|
||||
Sample session
|
||||
***************
|
||||
|
||||
|
||||
.. literalinclude:: ../../../examples/controller_post_settings.txt
|
||||
|
||||
@@ -12,3 +12,9 @@ Response status codes
|
||||
- **201**: Server is shutting down
|
||||
- **403**: Server shutdown refused
|
||||
|
||||
Sample session
|
||||
***************
|
||||
|
||||
|
||||
.. literalinclude:: ../../../examples/controller_post_shutdown.txt
|
||||
|
||||
@@ -21,6 +21,12 @@ Output
|
||||
<tr><td>version</td> <td>✔</td> <td>string</td> <td>Version number</td> </tr>
|
||||
</table>
|
||||
|
||||
Sample session
|
||||
***************
|
||||
|
||||
|
||||
.. literalinclude:: ../../../examples/controller_get_version.txt
|
||||
|
||||
|
||||
POST /v2/version
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -51,3 +57,9 @@ Output
|
||||
<tr><td>version</td> <td>✔</td> <td>string</td> <td>Version number</td> </tr>
|
||||
</table>
|
||||
|
||||
Sample session
|
||||
***************
|
||||
|
||||
|
||||
.. literalinclude:: ../../../examples/controller_post_version.txt
|
||||
|
||||
Reference in new issue
Block a user