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 2010/05/21 20:58:06 UTC
[Couchdb Wiki] Update of "API_Cheatsheet" by Fabian Graßl
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 Fabian Graßl.
http://wiki.apache.org/couchdb/API_Cheatsheet?action=diff&rev1=13&rev2=14
--------------------------------------------------
||/'''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'''/'''doc'''||Delete document||DELETE /'''db'''/'''doc'''?rev=REVISION||Delete document||||