Method | GET /_config/section | |
Request | None | |
Response | All the configuration values within a specified section | |
Admin Privileges Required | no |
Gets the configuration structure for a single section. For example, to retrieve the CouchDB configuration section values:
GET http://couchdb:5984/_config/couchdb Accept: application/json
The returned JSON contains just the configuration values for this section:
{ "os_process_timeout" : "5000", "max_attachment_chunk_size" : "4294967296", "max_document_size" : "4294967296", "uri_file" : "/var/lib/couchdb/couch.uri", "max_dbs_open" : "100", "view_index_dir" : "/var/lib/couchdb", "util_driver_dir" : "/usr/lib64/couchdb/erlang/lib/couch-1.0.1/priv/lib", "database_dir" : "/var/lib/couchdb", "delayed_commits" : "true" }