GitHub user KlausTrainer opened a pull request:
https://github.com/apache/couchdb/pull/109
Extend support for `attachments` query parameter
Until now, the boolean query parameter `attachments` has only been
supported for the document API endpoint (`/{db}/{docid}`).
This extends support for queries to the changes (`/{db}/_changes`) and
view (`/{db}/_design/{ddoc}/_view/{view}`) API endpoints: If both
`include_docs` and `attachments` equal `true`, the Base64-encoded
contents of attachments are included with the documents in changes or
view query results, respectively.
Closes COUCHDB-1923.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/KlausTrainer/couchdb
1923-attachments-query-parameter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/109.patch
----
commit 5ec2c6f12c40e4b825a90697f39310739d35fada
Author: Klaus Trainer <[email protected]>
Date: 2013-11-15T16:02:20Z
Extend support for `attachments` query parameter
Until now, the boolean query parameter `attachments` has only been
supported for the document API endpoint (`/{db}/{docid}`).
This extends support for queries to the changes (`/{db}/_changes`) and
view (`/{db}/_design/{ddoc}/_view/{view}`) API endpoints: If both
`include_docs` and `attachments` equal `true`, the Base64-encoded
contents of attachments are included with the documents in changes or
view query results, respectively.
Closes COUCHDB-1923.
----