rest-api-spec.api.cluster.allocation_explain.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-spec Show documentation
Show all versions of rest-api-spec Show documentation
Elasticsearch subproject :rest-api-spec
{
"cluster.allocation_explain":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html",
"description":"Provides explanations for shard allocations in the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
},
"url":{
"paths":[
{
"path":"/_cluster/allocation/explain",
"methods":[
"GET",
"POST"
]
}
]
},
"params":{
"master_timeout":{
"type":"time",
"description":"Timeout for connection to master node"
},
"include_yes_decisions":{
"type":"boolean",
"description":"Return 'YES' decisions in explanation (default: false)"
},
"include_disk_info":{
"type":"boolean",
"description":"Return information about disk usage and shard sizes (default: false)"
}
},
"body":{
"description":"The index, shard, and primary flag to explain. Empty means 'explain a randomly-chosen unassigned shard'"
}
}
}