couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <>
Subject accessing attachments from older revisions
Date Mon, 17 Nov 2008 05:46:18 GMT
Hi, I realized that only the attachments from the most recent revision  
of a document can be retrieved using the standalone attachment API.   
Attachments from older revisions are only available inlined using the  
attachments=true query string parameter.

Is there any interest in enhancing the standalone API so that

GET /somedatabase/document/attachment?rev=1234

retrieves the attachment named "attachment" from "document" as it  
existed in rev 1234?  It might prove useful in replication, where  
attachments from conflict revisions are replicated (COUCHDB-163).   


View raw message