gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet-rest-api] 02/03: changed config chapter title + add


From: gnunet
Subject: [GNUnet-SVN] [gnunet-rest-api] 02/03: changed config chapter title + added second post request
Date: Tue, 20 Aug 2019 13:16:14 +0200

This is an automated email from the git hooks/post-receive script.

pagkopoulou pushed a commit to branch master
in repository gnunet-rest-api.

commit 77142e405c4ea598ee548d111c4d7def53cf1b9e
Author: Alexia Pagkopoulou <address@hidden>
AuthorDate: Tue Aug 20 13:00:40 2019 +0200

    changed config chapter title + added second post request
---
 source/config.rst | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/source/config.rst b/source/config.rst
index e5e6dc9..a45e2cd 100644
--- a/source/config.rst
+++ b/source/config.rst
@@ -1,5 +1,5 @@
-Config API Service
-==================
+Configuration
+=============
 
 Definition
 ~~~~~~~~~~
@@ -84,8 +84,8 @@ GET Requests
 
+--------------------+---------------------------------------------------------------+
 
 
-POST Request
-------------
+POST Requests
+-------------
 
 
+--------------------+---------------------------------------------------------------+
 |**Title**           | Creates/modifies options in the config                  
      |
@@ -103,6 +103,24 @@ POST Request
 |**Error Response**  | | {"error":"*error_desc*"}                              
      |
 
+--------------------+---------------------------------------------------------------+
 
+|
+
++--------------------+---------------------------------------------------------------+
+|**Title**           | Creates/modifies options in a specific section in the 
config  |
++--------------------+---------------------------------------------------------------+
+|**URL**             | :literal:`/config/'section'`                            
      |
++--------------------+---------------------------------------------------------------+
+|**Method**          | **POST**                                                
      |
++--------------------+---------------------------------------------------------------+
+|**URL Params**      | none                                                    
      |
++--------------------+---------------------------------------------------------------+
+|**Data Params**     | {"'option'": "'value'",...}                             
      |
++--------------------+---------------------------------------------------------------+
+|**Success Response**| Response Code: ``b) 200 OK``                            
      |
++--------------------+---------------------------------------------------------------+
+|**Error Response**  | | {"error":"*error_desc*"}                              
      |
++--------------------+---------------------------------------------------------------+
+
 
 OPTIONS Request
 ---------------

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]