Skip to content

Commit

Permalink
Console Autocomplete Definitions Update for 7.15 (#109353)
Browse files Browse the repository at this point in the history
* Added generated definitions.

* Added overrides for disk usage API.

* Added _meta and frozen phases to ILM autocomplete.
  • Loading branch information
John Dorlus authored Aug 24, 2021
1 parent 13d1d07 commit 5293898
Show file tree
Hide file tree
Showing 29 changed files with 193 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"cluster.get_component_template": {
"url_params": {
"flat_settings": "__flag__",
"master_timeout": "",
"local": "__flag__"
},
Expand All @@ -12,6 +11,6 @@
"_component_template",
"_component_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/getting-component-templates.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"cluster.put_component_template": {
"url_params": {
"create": "__flag__",
"timeout": "",
"master_timeout": ""
},
"methods": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
"_eql/search/status/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-status-api.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
"_features/_reset"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/reset-features-api.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
],
"patterns": [
"{indices}/_fleet/global_checkpoints"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-global-checkpoints.html"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"indices.disk_usage": {
"url_params": {
"run_expensive_tasks": "__flag__",
"flush": "__flag__",
"ignore_unavailable": "__flag__",
"allow_no_indices": "__flag__",
"expand_wildcards": [
"open",
"closed",
"hidden",
"none",
"all"
]
},
"methods": [
"POST"
],
"patterns": [
"{indices}/_disk_usage"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"indices.field_usage_stats": {
"url_params": {
"fields": [],
"ignore_unavailable": "__flag__",
"allow_no_indices": "__flag__",
"expand_wildcards": [
"open",
"closed",
"hidden",
"none",
"all"
]
},
"methods": [
"GET"
],
"patterns": [
"{indices}/_field_usage_stats"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@
],
"wait_for_active_shards": ""
},
"methods": [
"POST"
],
"patterns": [
"{indices}/_freeze"
],
"methods": [],
"patterns": [],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@
],
"wait_for_active_shards": ""
},
"methods": [
"POST"
],
"patterns": [
"{indices}/_unfreeze"
],
"methods": [],
"patterns": [],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@
"timestamp_format": "",
"explain": "__flag__"
},
"methods": [
"POST"
],
"patterns": [
"_text_structure/find_structure"
],
"methods": [],
"patterns": [],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"ml.put_job": {
"url_params": {
"ignore_unavailable": "__flag__",
"allow_no_indices": "__flag__",
"ignore_throttled": "__flag__",
"expand_wildcards": [
"open",
"closed",
"hidden",
"none",
"all"
]
},
"methods": [
"PUT"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"nodes.clear_metering_archive": {
"methods": [
"DELETE"
],
"patterns": [
"_nodes/{nodes}/_repositories_metering/{max_archive_version}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-repositories-metering-archive-api.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"nodes.get_metering_info": {
"methods": [
"GET"
],
"patterns": [
"_nodes/{nodes}/_repositories_metering"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"request_cache",
"search",
"segments",
"shards",
"store",
"suggest",
"warmer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"_render/template",
"_render/template/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/render-search-template-api.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
"{indices}/_rollup/{rollup_index}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"search_mvt": {
"url_params": {
"exact_bounds": "__flag__",
"extent": 0,
"grid_precision": 0,
"grid_type": [
"grid",
"point"
],
"size": 0
},
"methods": [
"GET",
"POST"
],
"patterns": [
"{indices}/_mvt/{field}/{zoom}/{x}/{y}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-vector-tile-api.html"
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"searchable_snapshots.cache_stats": {
"url_params": {
"master_timeout": ""
},
"methods": [
"GET"
],
"patterns": [
"_searchable_snapshots/cache/stats",
"_searchable_snapshots/{nodes}/cache/stats"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-cache-stats.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"_searchable_snapshots/stats",
"{indices}/_searchable_snapshots/stats"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-apis.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"security.query_api_keys": {
"methods": [
"GET",
"POST"
],
"patterns": [
"_security/_query/api_key"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-api-key.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"master_timeout": "",
"ignore_unavailable": "__flag__",
"index_details": "__flag__",
"include_repository": "__flag__",
"verbose": "__flag__"
},
"methods": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
"_sql/close"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-pagination.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-sql-cursor-api.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"sql.delete_async": {
"methods": [
"DELETE"
],
"patterns": [
"_sql/async/delete/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-async-sql-search-api.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"sql.get_async": {
"url_params": {
"delimiter": "",
"format": "",
"keep_alive": "",
"wait_for_completion_timeout": ""
},
"methods": [
"GET"
],
"patterns": [
"_sql/async/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-api.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"sql.get_async_status": {
"methods": [
"GET"
],
"patterns": [
"_sql/async/status/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-async-sql-search-status-api.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"patterns": [
"_sql"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-rest-overview.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"patterns": [
"_sql/translate"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate-api.html"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"ilm.put_lifecycle": {
"data_autocomplete_rules": {
"_meta": {},
"policy": {
"phases": {
"warm": {
Expand Down Expand Up @@ -31,7 +32,7 @@
"forcemerge": {
"max_num_segments": 1
}
}
}
},
"min_age": "1d",
"actions": {
Expand Down Expand Up @@ -85,7 +86,7 @@
"_ip": ""
}
}
}
}
},
"min_age": "1d",
"actions": {
Expand Down Expand Up @@ -123,7 +124,7 @@
"max_docs": 1000,
"max_size": "5gb"
}
}
}
},
"min_age": "1d",
"actions": {
Expand All @@ -149,9 +150,14 @@
"actions": {
"delete": {}
}
},
"frozen": {
"actions": {
"searchable_snapshots": {}
}
}
}
}
}
}
}
}
Loading

0 comments on commit 5293898

Please sign in to comment.