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/8a69a113 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/8a69a113 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/8a69a113 Branch: refs/heads/1781-reorganize-and-improve-docs Commit: 8a69a113314889caa3f7f17ec56d94a44457b129 Parents: 5cf9306 Author: Alexander Shorin <[email protected]> Authored: Sat Aug 17 16:17:34 2013 +0400 Committer: Alexander Shorin <[email protected]> Committed: Fri Sep 27 21:59:45 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/8a69a113/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/8a69a113/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/8a69a113/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
