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/12/03 23:12:22 UTC
git commit: updated refs/heads/master to 5576644
Updated Branches:
refs/heads/master 818ef4f9a -> 5576644f5
Docs: fix indention issues.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5576644f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5576644f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5576644f
Branch: refs/heads/master
Commit: 5576644f50fcf485ab4e3518badba3c02b607dbe
Parents: 818ef4f
Author: Alexander Shorin <kx...@apache.org>
Authored: Wed Dec 4 02:11:53 2013 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Dec 4 02:11:53 2013 +0400
----------------------------------------------------------------------
share/doc/src/api/document/common.rst | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5576644f/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 089d856..bf39c35 100644
--- a/share/doc/src/api/document/common.rst
+++ b/share/doc/src/api/document/common.rst
@@ -397,10 +397,12 @@ information objects with next structure:
- **content_type** (*string*): Attachment MIME type
- **data** (*string*): Base64-encoded content. Available if attachment content
is requested by using the following query parameters:
+
- ``attachments=true`` when querying a document
- ``attachments=true&include_docs=true`` when querying a
:ref:`changes feed <api/db/changes>` or a :ref:`view <api/ddoc/view>`
- ``atts_since``.
+
- **digest** (*string*): Content hash digest.
It starts with prefix which announce hash type (``md5-``) and continues with
Base64-encoded hash digest
@@ -408,16 +410,20 @@ information objects with next structure:
Available if ``content_type`` is in :config:option:`list of compressible types
<attachments/compressible_types>` when the attachment was added and the
following query parameters are specified:
+
- ``att_encoding_info=true`` when querying a document
- ``att_encoding_info=true&include_docs=true`` when querying a
:ref:`changes feed <api/db/changes>` or a :ref:`view <api/ddoc/view>`
+
- **encoding** (*string*): Compression codec. Available if ``content_type`` is
in :config:option:`list of compressible types
<attachments/compressible_types>` when the attachment was added and the
following query parameters are specified:
+
- ``att_encoding_info=true`` when querying a document
- ``att_encoding_info=true&include_docs=true`` when querying a
:ref:`changes feed <api/db/changes>` or a :ref:`view <api/ddoc/view>`
+
- **length** (*number*): Real attachment size in bytes. Not available if attachment
content requested
- **revpos** (*number*): Revision *number* when attachment was added