summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shorin <kxepal@apache.org>2013-12-04 02:11:53 +0400
committerAlexander Shorin <kxepal@apache.org>2013-12-04 02:11:53 +0400
commit5576644f50fcf485ab4e3518badba3c02b607dbe (patch)
tree87b8fccca18c6da9a8a1aa12552fb01e7935e33f
parent818ef4f9a263a6d9b8555521478327bc69fc9e2e (diff)
downloadcouchdb-5576644f50fcf485ab4e3518badba3c02b607dbe.tar.gz
Docs: fix indention issues.
-rw-r--r--share/doc/src/api/document/common.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/doc/src/api/document/common.rst b/share/doc/src/api/document/common.rst
index 089d8561e..bf39c35f3 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