Added the API definition for `_cluster/health`
This commit is contained in:
parent
9902da67d4
commit
653677d1a0
|
@ -7,26 +7,50 @@
|
|||
"paths": ["/_cluster/health", "/_cluster/health/{index}"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "string",
|
||||
"description" : "Limit the health information to specific index"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"index": {
|
||||
"type" : "string",
|
||||
"description" : "Limit the health information to specific index"
|
||||
},
|
||||
"level": {
|
||||
"type" : "enum",
|
||||
"options" : ["cluster","indices","shards"],
|
||||
"default" : "cluster",
|
||||
"description" : "Specify the level of detail for returned information"
|
||||
},
|
||||
"local": {
|
||||
"type" : "boolean",
|
||||
"description" : "Return local information, do not retrieve the state from master node (default: false)"
|
||||
},
|
||||
"master_timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit operation timeout for master node"
|
||||
},
|
||||
"timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit operation timeout"
|
||||
},
|
||||
"wait_for_active_shards": {
|
||||
"type" : "number",
|
||||
"description" : "Wait until specified number of shards is active"
|
||||
},
|
||||
"wait_for_nodes": {
|
||||
"type" : "number",
|
||||
"description" : "Wait until specified number of nodes is available"
|
||||
},
|
||||
"wait_for_relocating_shards": {
|
||||
"type" : "number",
|
||||
"description" : "Wait until specified number of relocating shards is finished"
|
||||
},
|
||||
"wait_for_status": {
|
||||
"type" : "enum",
|
||||
"options" : ["green","yellow","red"],
|
||||
"default" : null,
|
||||
"description" : "Wait until cluster is in a specific state"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue