forked from elastic/elasticsearch-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcluster.allocation_explain.json
35 lines (35 loc) · 1.03 KB
/
cluster.allocation_explain.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"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": {
"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'"
}
}
}