summaryrefslogtreecommitdiff
path: root/t/specs/couchdb.json
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-10-17 21:45:36 +0200
committerfranck cuny <franck@lumberjaph.net>2010-10-17 21:45:36 +0200
commit7c4e7ed42a318a10bca97a4b52c1765a769bdc1f (patch)
tree43744ccedb7a23aa6b2682f24076994edf32aca2 /t/specs/couchdb.json
parentdon't rely on net::http::api::error (diff)
downloadnet-http-spore-7c4e7ed42a318a10bca97a4b52c1765a769bdc1f.tar.gz
remove couchdb api; add dummy spec for tests
Diffstat (limited to 't/specs/couchdb.json')
-rw-r--r--t/specs/couchdb.json93
1 files changed, 0 insertions, 93 deletions
diff --git a/t/specs/couchdb.json b/t/specs/couchdb.json
deleted file mode 100644
index 1aa293c..0000000
--- a/t/specs/couchdb.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
- "version" : "0.2",
- "methods" : {
- "create_document_without_id" : {
- "params" : {
- "required" : [
- "database"
- ]
- },
- "path" : "/:database",
- "method" : "POST"
- },
- "get_all_documents" : {
- "params" : {
- "required" : [
- "database"
- ],
- "optional" : [
- "descending",
- "startkey",
- "endkey",
- "limit",
- "include_docs"
- ]
- },
- "authentication": true,
- "path" : "/:database/_all_docs",
- "method" : "GET"
- },
- "create_document_with_id" : {
- "params" : {
- "required" : [
- "database",
- "doc_id"
- ]
- },
- "path" : "/:database/:doc_id",
- "method" : "POST"
- },
- "get_document" : {
- "params" : {
- "required" : [
- "database",
- "doc_id"
- ],
- "optional" : [
- "rev",
- "revs"
- ]
- },
- "path" : "/:database/:doc_id",
- "method" : "GET"
- },
- "get_all_documents_by_seq" : {
- "params" : {
- "required" : [
- "database"
- ],
- "optional" : [
- "startkey",
- "endkey",
- "limit",
- "include_docs"
- ]
- },
- "path" : "/:database/_all_docs_by_seq",
- "method" : "GET"
- },
- "delete_document" : {
- "params" : {
- "required" : [
- "database",
- "doc_id"
- ],
- "optional" : [
- "rev"
- ]
- },
- "path" : "/:database/:doc_id",
- "method" : "DELETE"
- }
- },
- "api_format" : [
- "json"
- ],
- "name" : "CouchDB",
- "author" : [
- "franck cuny <franck@lumberjaph.net>"
- ],
- "meta" : {
- "documentation" : "http://wiki.apache.org/couchdb/HTTP_Document_API"
- }
-}