Split settings to get_ and set_ methods
This commit is contained in:
parent
ec9be6a29b
commit
63d6f9907d
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"indices.settings": {
|
||||
"indices.get_settings": {
|
||||
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-get-settings/",
|
||||
"methods": ["GET", "PUT"],
|
||||
"methods": ["GET"],
|
||||
"url": {
|
||||
"path": "/_settings",
|
||||
"paths": ["/_settings", "/{index}/_settings"],
|
||||
|
@ -14,8 +14,6 @@
|
|||
"params": {
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"description" : "The index settings to be updated (when using the PUT method)"
|
||||
}
|
||||
"body": null
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"indices.put_settings": {
|
||||
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings/",
|
||||
"methods": ["PUT"],
|
||||
"url": {
|
||||
"path": "/_settings",
|
||||
"paths": ["/_settings", "/{index}/_settings"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "list",
|
||||
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"description" : "The index settings to be updated"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue