couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "HTTP Document API" by JasonDavies
Date Mon, 05 Jan 2009 11:35:24 GMT
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

Mime
View raw message