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). Regards,

Adam


Reply via email to