about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-25 12:05:44 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-25 12:05:44 +0200
commitf4045473a0716f84e2af38073d1fb8aaab4a4062 (patch)
tree62f5b9eafccee7fa46c9b0816afecc316d7dd4f3
parentCouchdb : add required_payload (diff)
downloadapi-description-f4045473a0716f84e2af38073d1fb8aaab4a4062.tar.gz
Couchdb : add method get_info(), which uses HEAD.
So, returns only headers
-rw-r--r--apps/couchdb.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/couchdb.json b/apps/couchdb.json
index d664836..992b956 100644
--- a/apps/couchdb.json
+++ b/apps/couchdb.json
@@ -44,6 +44,14 @@
          "path" : "/:database/:doc_id",
          "method" : "GET"
       },
+      "get_info" : {
+         "required_params" : [
+            "database",
+            "doc_id"
+         ],
+         "path" : "/:database/:doc_id",
+         "method" : "HEAD"
+      },
       "get_all_documents_by_seq" : {
          "required_params" : [
             "database"