| Method | COPY /db/_design/design-doc | |
| Request | None | |
| Response | JSON of the copied document and revision | |
| Admin Privileges Required | no | |
| Query Arguments | Argument | rev |
| Description | Revision to copy from | |
| Optional | yes | |
| Type | string | |
| HTTP Headers | Header | Destination |
| Description | Destination document (and optional revision) | |
| Optional | no | |
The COPY command (non-standard HTTP) copies an
existing design document to a new or existing document.
The source design document is specified on the request line, with
the Destination HTTP Header of the request
specifying the target document.