diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-11-17 11:51:18 +0100 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-11-17 11:51:18 +0100 |
| commit | e03f48683b982f8b9efd4ca0dae0bd6bca7411b5 (patch) | |
| tree | 552b892fb679ccd18f929e8a901b7f375c7a1ad5 /apps/couchdb/server.json | |
| parent | add format (diff) | |
| parent | spore2dot: split note & doc (diff) | |
| download | api-description-e03f48683b982f8b9efd4ca0dae0bd6bca7411b5.tar.gz | |
Merge branch 'master' of github.com:SPORE/api-description
* 'master' of github.com:SPORE/api-description:
spore2dot: split note & doc
add modularized CouchDB
spore2dot: add note
Ohloh: typo
add the Ohloh API, http://www.ohloh.net
CouchDB: an alternate description (still incomplete)
spore2dot: add a detailed generation
Github: rename some methods s/^get_/list_/;
Github/network: missing params
Diffstat (limited to '')
| -rw-r--r-- | apps/couchdb/server.json | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/apps/couchdb/server.json b/apps/couchdb/server.json new file mode 100644 index 0000000..3f59827 --- /dev/null +++ b/apps/couchdb/server.json @@ -0,0 +1,86 @@ +{ + "version" : "0.1", + "methods" : { + "get_root" : { + "path" : "/", + "method" : "GET" + }, + "get_all_dbs" : { + "path" : "/_all_dbs", + "method" : "GET" + }, + "get_active_tasks" : { + "path" : "/_active_tasks", + "method" : "GET" + }, + "replicate" : { + "path" : "/_replicate", + "method" : "POST", + "required_payload" : true + }, + "get_uuids" : { + "path" : "/_uuids", + "method" : "GET", + "optional_params" : [ + "count" + ] + }, + "restart" : { + "path" : "/_restart", + "method" : "POST" + }, + "get_stats" : { + "path" : "/_stats", + "method" : "GET" + }, + "get_log" : { + "path" : "/_log", + "method" : "GET" + }, + "get_config" : { + "path" : "/_config", + "method" : "GET" + }, + "get_config_section" : { + "path" : "/_config/:section", + "method" : "GET", + "required_params" : [ + "section" + ] + }, + "get_config_item" : { + "path" : "/_config/:section/:key", + "method" : "GET", + "required_params" : [ + "section", + "key" + ] + }, + "set_config_item" : { + "path" : "/_config/:section/:key", + "method" : "PUT", + "required_params" : [ + "section", + "key" + ] + }, + "delete_config_item" : { + "path" : "/_config/:section/:key", + "method" : "DELETE", + "required_params" : [ + "section", + "key" + ] + } + }, + "formats" : [ + "json" + ], + "expected_status" : [ 200 ], + "name" : "CouchDB", + "authority" : "http://github.com/SPORE", + "meta" : { + "documentation" : "http://wiki.apache.org/couchdb/Complete_HTTP_API_Reference", + "module" : "server" + } +} |
