summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@apache.org>2013-09-28 00:32:59 +0200
committerDave Cottlehuber <dch@apache.org>2013-09-28 00:32:59 +0200
commit655809fca32292b1b3ba41bf2177c18e0b6b24a1 (patch)
treee653e325810b919fc70972934ba9ebe744e0a849
parente6f1e8411eeb0737d2126f4367dff07238c48de1 (diff)
downloadcouchdb-655809fca32292b1b3ba41bf2177c18e0b6b24a1.tar.gz
docs: ensure scope of server administrator is clear
-rw-r--r--share/doc/src/api/database/common.rst4
-rw-r--r--share/doc/src/api/database/compact.rst6
-rw-r--r--share/doc/src/api/database/security.rst2
-rw-r--r--share/doc/src/api/server/common.rst14
-rw-r--r--share/doc/src/api/server/configuration.rst10
5 files changed, 18 insertions, 18 deletions
diff --git a/share/doc/src/api/database/common.rst b/share/doc/src/api/database/common.rst
index ecf31fed0..853ff6bb7 100644
--- a/share/doc/src/api/database/common.rst
+++ b/share/doc/src/api/database/common.rst
@@ -131,7 +131,7 @@
:>json string reason: Error description. Available if response code is ``4xx``
:code 201: Database created successfully
:code 400: Invalid database name
- :code 401: Administrator`s privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 412: Database already exists
**Request**:
@@ -225,8 +225,8 @@
:>json boolean ok: Operation status
:code 200: Database removed successfully
:code 400: Invalid database name
- :code 401: Administrator`s privileges required
:code 404: Database doesn't already exists
+ :code 401: CouchDB Server Administrator privileges required
**Request**:
diff --git a/share/doc/src/api/database/compact.rst b/share/doc/src/api/database/compact.rst
index 42d99eb1d..6982cb423 100644
--- a/share/doc/src/api/database/compact.rst
+++ b/share/doc/src/api/database/compact.rst
@@ -52,7 +52,7 @@
:>json boolean ok: Operation status
:code 202: Compaction request has been accepted
:code 400: Invalid database name
- :code 401: Administrator`s privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 415: Bad :http:header:`Content-Type` value
**Request**:
@@ -102,7 +102,7 @@
:>json boolean ok: Operation status
:code 202: Compaction request has been accepted
:code 400: Invalid database name
- :code 401: Administrator`s privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 404: Design document not found
:code 415: Bad :http:header:`Content-Type` value
@@ -198,7 +198,7 @@
:>json boolean ok: Operation status
:code 202: Compaction request has been accepted
:code 400: Invalid database name
- :code 401: Administrator`s privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 415: Bad :http:header:`Content-Type` value
**Request**:
diff --git a/share/doc/src/api/database/security.rst b/share/doc/src/api/database/security.rst
index 551e5a8e5..8ad62e658 100644
--- a/share/doc/src/api/database/security.rst
+++ b/share/doc/src/api/database/security.rst
@@ -131,7 +131,7 @@
- :mimetype:`text/plain; charset=utf-8`
:>json boolean ok: Operation status
:code 200: Request completed successfully
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
**Request**:
diff --git a/share/doc/src/api/server/common.rst b/share/doc/src/api/server/common.rst
index f58403f34..3c0686c33 100644
--- a/share/doc/src/api/server/common.rst
+++ b/share/doc/src/api/server/common.rst
@@ -86,7 +86,7 @@
:>json string type: Operation Type
:>json number updated_on: Unix timestamp of last operation update
:code 200: Request completed successfully
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
**Request**:
@@ -234,8 +234,8 @@
:>json boolean ok: Event operation status
:>json string type: A database event is one of ``created``, ``updated``,
``deleted``
- :code 200: Request completed successfully.
- :code 401: Administrator's privileges required.
+ :code 200: Request completed successfully
+ :code 401: CouchDB Server Administrator privileges required
**Request**:
@@ -279,8 +279,8 @@
Default is ``0``.
:>header Content-Type: :mimetype:`text/plain; charset=utf-8`
:>header Transfer-Encoding: ``chunked``
- :code 200: Request completed successfully.
- :code 401: Administrator's privileges required.
+ :code 200: Request completed successfully
+ :code 401: CouchDB Server Administrator privileges required
**Request**:
@@ -366,7 +366,7 @@ jumping to ``offset`` bytes towards the beginning of the file first:
:code 200: Replication request successfully completed
:code 202: Continuous replication request has been accepted
:code 400: Invalid JSON data
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 404: Either the source or target DB is not found or attempt to
cancel unknown replication task
:code 500: JSON specification was invalid
@@ -675,7 +675,7 @@ a 404 error.
- :mimetype:`text/plain; charset=utf-8`
:code 202: Server goes to restart (there is no guarantee that it will be
alive after)
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 415: Bad request`s :http:header:`Content-Type`
**Request**:
diff --git a/share/doc/src/api/server/configuration.rst b/share/doc/src/api/server/configuration.rst
index e9743288b..46a4e78ed 100644
--- a/share/doc/src/api/server/configuration.rst
+++ b/share/doc/src/api/server/configuration.rst
@@ -34,7 +34,7 @@ CouchDB instance.
:>header Content-Type: - :mimetype:`application/json`
- :mimetype:`text/plain; charset=utf-8`
:code 200: Request completed successfully
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
**Request**
@@ -169,7 +169,7 @@ CouchDB instance.
:>header Content-Type: - :mimetype:`application/json`
- :mimetype:`text/plain; charset=utf-8`
:code 200: Request completed successfully
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
**Request**:
@@ -220,7 +220,7 @@ CouchDB instance.
:>header Content-Type: - :mimetype:`application/json`
- :mimetype:`text/plain; charset=utf-8`
:code 200: Request completed successfully
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
**Request**:
@@ -266,7 +266,7 @@ CouchDB instance.
- :mimetype:`text/plain; charset=utf-8`
:code 200: Request completed successfully
:code 400: Invalid JSON request body
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 500: Error setting configuration
**Request**:
@@ -307,7 +307,7 @@ CouchDB instance.
:>header Content-Type: - :mimetype:`application/json`
- :mimetype:`text/plain; charset=utf-8`
:code 200: Request completed successfully
- :code 401: Administrator's privileges required
+ :code 401: CouchDB Server Administrator privileges required
:code 404: Specified configuration option not found
**Request**: