couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KlausTrainer <...@git.apache.org>
Subject couchdb pull request: Extend support for `attachments` query parameter
Date Mon, 25 Nov 2013 10:58:17 GMT
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 <klaus_trainer@posteo.de>
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.

----


Mime
View raw message