You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ii...@apache.org on 2018/08/16 18:52:36 UTC

[couchdb-documentation] branch node-restart created (now 3382fbc)

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

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


      at 3382fbc  Remove documentation for removed node local _restart API

This branch includes the following new commits:

     new 3382fbc  Remove documentation for removed node local _restart API

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb-documentation] 01/01: Remove documentation for removed node local _restart API

Posted by ii...@apache.org.
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 <ii...@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