Added the API definition for `_settings`

This commit is contained in:
Karel Minarik 2013-05-27 17:08:45 +02:00
parent 8f40b2235d
commit 2cd85fa232
1 changed files with 7 additions and 4 deletions

View File

@ -1,19 +1,22 @@
{ {
"indices.settings": { "indices.settings": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-delete-index/", "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-get-settings/",
"methods": ["GET", "PUT"], "methods": ["GET", "PUT"],
"url": { "url": {
"path": "/_settings", "path": "/_settings",
"paths": ["/_settings", "/{index}/_settings"], "paths": ["/_settings", "/{index}/_settings"],
"parts": { "parts": {
"index": { "index": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
} }
}, },
"params": { "params": {
"index": {
}
} }
}, },
"body": null "body": {
"description" : "The index settings to be updated (when using the PUT method)"
}
} }
} }