kibana/packages/kbn-spec-to-console/test/fixtures/cluster_health_autocomplete.json
Jean-Louis Leysens 357e929bd2
Backport spec_to_console script to work with new JSON file format. (#43427)
* Backport spec_to_console script to work with new JSON file format.

* Updated test fixture to use new JSON file pattern

* Fix if statement
2019-08-19 12:26:33 -07:00

45 lines
935 B
JSON

{
"cluster.health": {
"url_params": {
"expand_wildcards": [
"open",
"closed",
"none",
"all"
],
"level": [
"cluster",
"indices",
"shards"
],
"local": "__flag__",
"master_timeout": "",
"timeout": "",
"wait_for_active_shards": "",
"wait_for_nodes": "",
"wait_for_events": [
"immediate",
"urgent",
"high",
"normal",
"low",
"languid"
],
"wait_for_no_relocating_shards": "__flag__",
"wait_for_no_initializing_shards": "__flag__",
"wait_for_status": [
"green",
"yellow",
"red"
]
},
"methods": [
"GET"
],
"patterns": [
"_cluster/health",
"_cluster/health/{indices}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html"
}
}