1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00
gns3-server/docs/api/v2/controller/server/settings.rst

35 lines
1007 B
ReStructuredText
Raw Normal View History

2016-06-29 13:17:02 +00:00
/v2/settings
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
GET /v2/settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retrieve gui settings from the server. Temporary will we removed in later release
Response status codes
**********************
- **200**: OK
2017-03-21 12:32:04 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/controller_get_settings.txt
2016-06-29 13:17:02 +00:00
POST /v2/settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Write gui settings on the server. Temporary will we removed in later releas
Response status codes
**********************
- **201**: Writed
2017-03-21 12:32:04 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/controller_post_settings.txt