You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2009/01/05 12:35:24 UTC
[Couchdb Wiki] Trivial Update of "HTTP Document API" by JasonDavies
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The following page has been changed by JasonDavies:
http://wiki.apache.org/couchdb/HTTP_Document_API
------------------------------------------------------------------------------
You can copy documents by sending an HTTP COPY request. This allows you to duplicate the contents (and attachments) of a document to a new document under a different document id without first retrieving it from CouchDB. Use the ''Destination'' header to specify the document that you want to copy to (the target document).
- It is not possible to copy documents between databases and it is not (yet) possible to make bulk copy operations.
+ It is not possible to copy documents between databases and it is not (yet) possible to perform bulk copy operations.
{{{
COPY /somedatabase/some_doc HTTP/1.1
@@ -441, +441 @@
Since MOVE is a COPY & DELETE under the hood, you need to provide the revision id of the document you want to move.
- It is not possible to move documents between databases and it is not (yet) possible to make bulk move operations.
+ It is not possible to move documents between databases and it is not (yet) possible to perform bulk move operations.
{{{
MOVE /somedatabase/some_doc?rev=some_id HTTP/1.1