This is an automated email from the ASF dual-hosted git repository.

iilyak pushed a commit to branch node-restart
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 3382fbcdd264448c049117edbb537e470442835d
Author: ILYA Khlopotov <iil...@apache.org>
AuthorDate: Thu Aug 16 10:08:10 2018 -0700

    Remove documentation for removed node local _restart API
---
 src/api/server/configuration.rst | 1 -
 src/config/http-handlers.rst     | 7 -------
 src/intro/security.rst           | 4 ++--
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/api/server/configuration.rst b/src/api/server/configuration.rst
index 248f6eb..ce527a6 100644
--- a/src/api/server/configuration.rst
+++ b/src/api/server/configuration.rst
@@ -129,7 +129,6 @@ interact with the local node's configuration.
                 "_all_dbs": "{couch_httpd_misc_handlers, handle_all_dbs_req}",
                 "_config": "{couch_httpd_misc_handlers, handle_config_req}",
                 "_replicate": "{couch_httpd_misc_handlers, 
handle_replicate_req}",
-                "_restart": "{couch_httpd_misc_handlers, handle_restart_req}",
                 "_session": "{couch_httpd_auth, handle_session_req}",
                 "_stats": "{couch_httpd_stats_handlers, handle_stats_req}",
                 "_utils": "{couch_httpd_misc_handlers, handle_utils_dir_req, 
\"/usr/share/couchdb/www\"}",
diff --git a/src/config/http-handlers.rst b/src/config/http-handlers.rst
index 426b168..df06fe5 100644
--- a/src/config/http-handlers.rst
+++ b/src/config/http-handlers.rst
@@ -80,13 +80,6 @@ Global HTTP Handlers
             [httpd_global_handlers]
             _replicate = {couch_replicator_httpd, handle_req}
 
-    .. config:option:: _restart
-
-        Provides an API to restart CouchDB (only on the node-local port).
-
-            [httpd_global_handlers]
-            _restart = {couch_httpd_misc_handlers, handle_restart_req}
-
     .. config:option:: _session
 
         Provides a resource with information about the current user's session::
diff --git a/src/intro/security.rst b/src/intro/security.rst
index 432c211..e603840 100644
--- a/src/intro/security.rst
+++ b/src/intro/security.rst
@@ -70,8 +70,8 @@ identification for certain requests:
   </{db}/_design/{ddoc}>`)
 - Triggering compaction (:post:`POST /database/_compact </{db}/_compact>`)
 - Reading the task status list (:get:`GET /_active_tasks </_active_tasks>`)
-- Restarting the server on the node-local port
-  (:post:`POST /_restart </_restart>`)
+- Restarting the server on a given node
+  (:post:`POST /_node/{node-name}/_restart </_restart>`)
 - Reading the active configuration
   (:get:`GET /_node/{node-name}/_config </_config>`)
 - Updating the active configuration

Reply via email to