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:12 UTC
[45/50] git commit: updated
refs/heads/1781-reorganize-and-improve-docs to 360107b
Fix typos and namings.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/98d96bd5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/98d96bd5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/98d96bd5
Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: 98d96bd5297749578574f64cfb8ecc49c4cc6ec8
Parents: 9be3338
Author: Alexander Shorin <kx...@apache.org>
Authored: Sat Aug 17 16:17:34 2013 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Aug 21 20:29:41 2013 +0400
----------------------------------------------------------------------
share/doc/src/api/database/bulk-api.rst | 2 +-
share/doc/src/api/database/common.rst | 2 +-
share/doc/src/api/document/common.rst | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/98d96bd5/share/doc/src/api/database/bulk-api.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/api/database/bulk-api.rst b/share/doc/src/api/database/bulk-api.rst
index d703ecb..faf04c3 100644
--- a/share/doc/src/api/database/bulk-api.rst
+++ b/share/doc/src/api/database/bulk-api.rst
@@ -260,7 +260,7 @@
HTTP/1.1 201 Created
Cache-Control: must-revalidate
Content-Length: 144
- Content-Type: appliaction/json
+ Content-Type: application/json
Date: Mon, 12 Aug 2013 00:15:05 GMT
Server: CouchDB/1.4.0 (Erlang OTP/R16B)
http://git-wip-us.apache.org/repos/asf/couchdb/blob/98d96bd5/share/doc/src/api/database/common.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/api/database/common.rst b/share/doc/src/api/database/common.rst
index dc17465..4880e61 100644
--- a/share/doc/src/api/database/common.rst
+++ b/share/doc/src/api/database/common.rst
@@ -275,7 +275,7 @@
- :mimetype:`text/plain; charset=utf-8`
:>header ETag: Quoted new document's revision
:>header Location: Document's URI
- :>json string id: Created document ID
+ :>json string id: Document ID
:>json boolean ok: Operation status
:>json string rev: Revision info
:code 201: Document created and stored on disk
http://git-wip-us.apache.org/repos/asf/couchdb/blob/98d96bd5/share/doc/src/api/document/common.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/api/document/common.rst b/share/doc/src/api/document/common.rst
index e9ca7dc..adbf03e 100644
--- a/share/doc/src/api/document/common.rst
+++ b/share/doc/src/api/document/common.rst
@@ -185,7 +185,7 @@
- :mimetype:`text/plain; charset=utf-8`
:>header ETag: Quoted document's new revision
:>header Location: Document URI
- :>json string id: Created document ID
+ :>json string id: Document ID
:>json boolean ok: Operation status
:>json string rev: Revision MVCC token
:code 201: Document created and stored on disk
@@ -261,7 +261,7 @@
:>header Content-Type: - :mimetype:`application/json`
- :mimetype:`text/plain; charset=utf-8`
:>header ETag: Double quoted document's new revision
- :>json string id: Created document ID
+ :>json string id: Document ID
:>json boolean ok: Operation status
:>json string rev: Revision MVCC token
:code 200: Document successfully removed
@@ -269,7 +269,7 @@
:code 400: Invalid request body or parameters
:code 401: Write privileges required
:code 404: Specified database or document ID doesn't exists
- :code 409: Specified revision is not latest for target document
+ :code 409: Specified revision is not the latest for target document
**Request**:
@@ -333,8 +333,8 @@
:>header Content-Type: - :mimetype:`application/json`
- :mimetype:`text/plain; charset=utf-8`
:>header ETag: Double quoted document's new revision
- :>header Location: Document's URI
- :>json string id: Created document ID
+ :>header Location: Document URI
+ :>json string id: Document document ID
:>json boolean ok: Operation status
:>json string rev: Revision MVCC token
:code 201: Document successfully created