Skip to content

Latest commit

 

History

History
70 lines (69 loc) · 8.95 KB

couchdb-supported-features.md

File metadata and controls

70 lines (69 loc) · 8.95 KB

Apache Couch Db version 1.6

CouchDb feature HTTP API Support Since Example
Databases
Get information about a database /{db} 0.5 view
Create a new database /{db} 0.5 view
Delete a specified database /{db} 0.5 view
Batch mode writes /{db}?batch=ok
Documents
Retrieve document /{db}/{doc_id} 0.5 view
Retrieve document by revision number /{db}/{doc_id}
Create document /{db}/ 0.5 view
Get list of document revisions /{db}/{doc_id}
Update document /{db}/{doc_id} 0.5 view
Delete document /{db}/{doc_id} 0.5 view
Copy document /{db}/{doc_id}
Copy document by revision /{db}/{doc_id}
Copy to an existing document /{db}/{doc_id}
Get attachment information /{db}/{doc_id} 0.5 view
Create single attachment /{db}/{doc_id}/{att_name} 0.5 view
Create multiple attachment /{db}/{doc_id}
Retrieve attachment /{db}/{doc_id}/{att_name} 0.5 view
Retrieve multiple attachments /{db}/{doc_id}
Delete attachment /{db}/{doc_id}/{attachment_name} 0.5 view
Get all documents in a database /{db}/_all_docs 0.5 view
Get documents given multiple keys /{db}/_all_docs 0.5 view
Create and update multiple documents /{db}/_bulk_docs 0.5 view
Get list of changes to documents /{db}/_changes
Get list of changes for specified document ids /{db}/_changes
Compact database /{db}/_compact
Compact view indexes associated with specified design document /{db}/_compact/{des_doc}
Commit recent changes to disk /{db}/_ensure_full_commit
Remove view index files that are not required /{db}/_view_cleanup
Get security object from database /{db}/_security
Create and execute temporary view /{db}/_temp_view
Permanently remove references to delete documents /{db}/_purge
Given list of document revisions, return this that do not exist /{db}/_missing_revs
Given list of revision ids, returns those that do not correspond to revisions in database /{db}/_revs_diff
Get the current revision limit setting /{db}/_revs_limit
Design Documents
Get content of design document /{db}/_design/{des_doc} 0.5 view
Get meta-data about design document /{db}/_design/{des_doc}/_info 0.5 view
Create design document /{db}/_design/{des_doc} 0.5 view
Update design document /{db}/_design/{des_doc} 0.5 view
Delete design document /{db}/_design/{des_doc} 0.5 view
Copy design document /{db}/_design/{des_doc}
Create attachment /{db}/_design/{des_doc}/{att_name} 0.5 view
Get attachment /{db}/_design/{des_doc}/{att_name} 0.5 view
Delete design document attachment /{db}/_design/{des_doc}/{att_name} 0.5 view
Execute specified view function from the specified design document /{db}/_design/{des_doc}/_view/{view_name} 0.5 view
Applies show function for specified documents /{db}/_design/{des_doc} /_show/{show_name}/{doc_id} 0.5 view
Applies list function for the view function from the same design document /{db}/_design/{des_doc} /_list/{list_name}/{view_name} 0.5 view
Applies list function for the view function from another design document /{db}/_design/{des_doc} / _list/{list_name}/{other_design_doc}/{view_name}
Rewrite the specified path by rules in specified design document /{db}/_design/{des-doc}/_rewrite/path
Local Documents
Get local document /{db}/_local/{doc_id}
Store local document /{db}/_local/{doc_id}
Delete local document /{db}/_local/{doc_id}
Copy local document /{db}/_local/{doc_id}
Server
Get meta information about instance / 0.5 [view] (https://github.com/beloglazov/couchdb-scala/blob/5b2e78838c53d1e21a47e3ef8c42d0cc5bb1dcae/src/test/scala/com/ibm/couchdb/api/ServerSpec.scala#L28-33)
Request a Universally Unique Identifier /_uuid 0.5 view
List databases /_all_dbs 0.5 view
List active tasks /_active_tasks
List database events /_db_updates
View Logs /_log
Request, configure or stop a replication request /_replicate
Restart instance /_restart
Statistics about server /_stats