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 2008/09/11 14:53:38 UTC
[Couchdb Wiki] Update of "ApiCheatSheet" by JohnBeppu
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 JohnBeppu:
http://wiki.apache.org/couchdb/ApiCheatSheet
The comment on the change is:
first draft of ApiCheatSheet
------------------------------------------------------------------------------
- A handy CouchDB cheet sheet.
+ = CouchDB Server Level Requests =
- Need to consolidate all the API documentation into a concise cheat sheet.
+ == info ==
- Anyone, please feel free to do this!
+ GET /
+ == all_dbs ==
+
+ GET /_all_dbs
+
+ == replicate ==
+
+ POST /_replicate
+
+ = CouchDB Database Level Requests =
+
+ == compact ==
+
+ POST /'''db'''/_compact
+
+ == create ==
+
+ PUT /'''db'''
+
+ == drop ==
+
+ DELETE /'''db'''
+
+ == info ==
+
+ GET /'''db'''
+
+ == all_docs ==
+
+ GET /'''db'''/_all_docs
+
+ == open_doc ==
+
+ GET /'''db'''/'''doc_id'''
+
+ == save_doc (CREATE) ==
+
+ POST /'''db'''
+
+ == save_doc (UPDATE) ==
+
+ PUT /'''db'''/'''doc_id'''
+
+ == remove_doc ==
+
+ DELETE /'''db'''/'''doc_id'''
+
+ == bulk_docs ==
+
+ POST /'''db'''/_bulk_docs
+
+ == query (aka temporary view) ==
+
+ POST /'''db'''/_temp_view
+
+ == view ==
+
+ GET /'''db'''/_view/'''name'''
+