about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-25 12:02:00 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-25 12:02:00 +0200
commit2dca8b0d8a6273216dde228b005c1aae27b92848 (patch)
tree98813c2714c519ed566b310578cf1ae5adfe0bdc
parentgithub: add form-data, and more repo methods (diff)
downloadapi-description-2dca8b0d8a6273216dde228b005c1aae27b92848.tar.gz
Couchdb : add required_payload
-rw-r--r--apps/couchdb.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/couchdb.json b/apps/couchdb.json
index f68529f..d664836 100644
--- a/apps/couchdb.json
+++ b/apps/couchdb.json
@@ -5,6 +5,7 @@
          "required_params" : [
             "database"
          ],
+         "required_payload" : true,
          "path" : "/:database",
          "method" : "POST"
       },
@@ -27,6 +28,7 @@
             "database",
             "doc_id"
          ],
+         "required_payload" : true,
          "path" : "/:database/:doc_id",
          "method" : "POST"
       },