diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2010-10-25 12:05:44 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2010-10-25 12:05:44 +0200 |
commit | f4045473a0716f84e2af38073d1fb8aaab4a4062 (patch) | |
tree | 62f5b9eafccee7fa46c9b0816afecc316d7dd4f3 | |
parent | Couchdb : add required_payload (diff) | |
download | api-description-f4045473a0716f84e2af38073d1fb8aaab4a4062.tar.gz |
Couchdb : add method get_info(), which uses HEAD.
So, returns only headers
-rw-r--r-- | apps/couchdb.json | 8 |
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" |