You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2013/08/21 18:38:00 UTC
[33/50] git commit: updated
refs/heads/1781-reorganize-and-improve-docs to 360107b
Fix PUT /db/_security metainfo.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/12aed6f2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/12aed6f2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/12aed6f2
Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: 12aed6f2231300f8e04dfcbb81f65a7bf1653468
Parents: 484a4e5
Author: Alexander Shorin <kx...@apache.org>
Authored: Tue Aug 13 16:17:59 2013 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Aug 21 20:29:40 2013 +0400
----------------------------------------------------------------------
share/doc/src/api/database/security.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/12aed6f2/share/doc/src/api/database/security.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/api/database/security.rst b/share/doc/src/api/database/security.rst
index 6a9f1c9..1856579 100644
--- a/share/doc/src/api/database/security.rst
+++ b/share/doc/src/api/database/security.rst
@@ -122,12 +122,13 @@
:param db: Database name
:<header Accept: - :mimetype:`application/json`
- :mimetype:`text/plain`
- :>header Content-Type: - :mimetype:`application/json`
- - :mimetype:`text/plain; charset=utf-8`
+ :<header Content-Type: :mimetype:`application/json`
:<json object admins: Object with two fields as ``names`` and ``roles``.
:ref:`See description above for more info <api/db/security>`.
:<json object members: Object with two fields as ``names`` and ``roles``.
:ref:`See description above for more info <api/db/security>`.
+ :>header Content-Type: - :mimetype:`application/json`
+ - :mimetype:`text/plain; charset=utf-8`
:>json boolean ok: Operation status
:code 200: Request completed successfully
:code 401: Administrator's privileges required