10.3. GET /_config/section/key

MethodGET /_config/section/key
Request None
Response Value of the specified key/section
Admin Privileges Requiredno

Gets a single configuration value from within a specific configuration section. For example, to obtain the current log level:

GET http://couchdb:5984/_config/log/level
Accept: application/json

Returns the string of the log level:

"info"

Note

The returned value will be the JSON of the value, which may be a string or numeric value, or an array or object. Some client environments may not parse simple strings or numeric values as valid JSON.