Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The "API_Cheatsheet" page has been changed by DirkjanOchtman.
The comment on this change is: Split up database and documents level..
http://wiki.apache.org/couchdb/API_Cheatsheet?action=diff&rev1=9&rev2=10

--------------------------------------------------

  ||/_config||Config||GET||Get configuration data||||
  ||/_uuids||UUIDs||GET /_uuids?count=1||Get a number of UUIDs||||
  ||/_replicate||Replication||POST /_replicate source=x&target=y||Replicate, 
see [[Replication]]||||
+ ||/_stats||Statistics||GET /_stats||Statistics overview||||
  ||/_active_tasks||Active tasks||GET /_active_tasks||Active task list 
(compaction, replication, etc.)||||
  
  = Database level =
@@ -19, +20 @@

  ||/'''db'''||Deletion||DELETE /'''db'''||Database deletion||||
  ||/'''db'''||Info||GET /'''db'''||Database information||||
  ||/'''db'''/_compact||Compaction||POST /'''db'''/_compact||Data compaction||||
+ ||/'''db'''/_bulk_docs||Bulk document update||POST /'''db'''/_bulk_docs 
[{"foo": "bar"}]||Update many documents at once||||
+ ||/'''db'''/_temp_view||Temporary view||POST /'''db'''/_temp_View 
{'''view-code'''}||Run an ad-hoc view||||
+ ||/'''db'''/_design/'''design-doc'''/_view/'''view'''||View||GET 
/'''db'''/_design/'''design-doc'''/_view/'''view'''||View query (see 
[[HTTP_view_API]])||(in 0.9.x, this was 
/'''db'''/_view/'''design-doc'''/'''view''')||
+ 
+ = Documents level =
+ 
- ||/'''db'''||Documents||GET /'''db'''/_all_docs||List of all documents||||
+ ||/'''db'''/_all_docs||Documents||GET /'''db'''/_all_docs||List of all 
documents||||
  ||/'''db'''||Get document||GET /'''db'''/'''doc'''||Retrieve a document||||
  ||/'''db'''||Create document||POST /'''db''' {"foo": "bar"}||Create new 
document||||
  ||/'''db'''/'''doc'''||Update document||PUT /'''db'''/'''doc''' {"foo": 
"test"}||Save updated document||||
  ||/'''db'''/'''doc'''||Delete document||DELETE /'''db'''/'''doc'''||Delete 
document||||
- ||/'''db'''/_bulk_docs||Bulk document update||POST /'''db'''/_bulk_docs 
[{"foo": "bar"}]||Update many documents at once||||
- ||/'''db'''/_temp_view||Temporary view||POST /'''db'''/_temp_View 
{'''view-code'''}||Run an ad-hoc view||||
- ||/'''db'''/_design/'''design-doc'''/_view/'''view'''||View||GET 
/'''db'''/_design/'''design-doc'''/_view/'''view'''||View query (see 
[[HTTP_view_API]])||(in 0.9.x, this was 
/'''db'''/_view/'''design-doc'''/'''view''')||
  

Reply via email to