mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Console] Update autocomplete definitions (#159556)
Closes https://github.com/elastic/kibana/issues/157753 ## Summary This PR updates the script-generated autocomplete definitions for Console. Tested all new autocompletions manually in Console - everything worked as expected except that the documentation links for all Synonyms requests (`synonyms.delete.json`, `synonyms.get.json`, `synonyms.put.json`, `synonyms_sets.get.json`) lead to 404 error pages, but it seems that's how these links were introduced in the [Es Rest API specs](https://github.com/elastic/elasticsearch/tree/main/rest-api-spec/src/main/resources/rest-api-spec/api). @carlosdelest I see that you added the specs for the Synonyms requests - do you know if their documentation pages will be active once 8.9 is released?
This commit is contained in:
parent
439d00a7b7
commit
e4349cd52a
18 changed files with 167 additions and 5 deletions
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"_internal.delete_desired_balance": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_internal/desired_balance"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-desired-balance.html"
|
||||
}
|
||||
}
|
|
@ -16,6 +16,6 @@
|
|||
"_cat/component_templates",
|
||||
"_cat/component_templates/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-compoentn-templates.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"cluster.info": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_info/{target}"
|
||||
],
|
||||
"url_components": {
|
||||
"target": [
|
||||
"_all",
|
||||
"http",
|
||||
"ingest",
|
||||
"script",
|
||||
"thread_pool"
|
||||
]
|
||||
},
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-info.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"indices.delete_data_lifecycle": {
|
||||
"url_params": {
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"hidden",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
"timeout": "",
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_data_stream/{name}/_lifecycle"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-delete-lifecycle.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"indices.explain_data_lifecycle": {
|
||||
"url_params": {
|
||||
"include_defaults": "__flag__",
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_lifecycle/explain"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/dlm-explain-lifecycle.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"indices.get_data_lifecycle": {
|
||||
"url_params": {
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"hidden",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
"include_defaults": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_data_stream/{name}/_lifecycle"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-get-lifecycle.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"indices.put_data_lifecycle": {
|
||||
"url_params": {
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"hidden",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
"timeout": "",
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_data_stream/{name}/_lifecycle"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-put-lifecycle.html"
|
||||
}
|
||||
}
|
|
@ -3,7 +3,8 @@
|
|||
"url_params": {
|
||||
"create": "__flag__",
|
||||
"cause": "",
|
||||
"master_timeout": ""
|
||||
"master_timeout": "",
|
||||
"include_defaults": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
"url_params": {
|
||||
"create": "__flag__",
|
||||
"cause": "",
|
||||
"master_timeout": ""
|
||||
"master_timeout": "",
|
||||
"include_defaults": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_logstash/pipeline",
|
||||
"_logstash/pipeline/{id}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"ml.put_trained_model": {
|
||||
"url_params": {
|
||||
"defer_definition_decompression": "__flag__"
|
||||
"defer_definition_decompression": "__flag__",
|
||||
"wait_for_completion": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"PUT"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"ml.start_trained_model_deployment": {
|
||||
"url_params": {
|
||||
"cache_size": "",
|
||||
"deployment_id": "",
|
||||
"number_of_allocations": 0,
|
||||
"threads_per_allocation": 0,
|
||||
"priority": "",
|
||||
|
|
|
@ -60,7 +60,8 @@
|
|||
"max_concurrent_shard_requests": "",
|
||||
"pre_filter_shard_size": "",
|
||||
"rest_total_hits_as_int": "__flag__",
|
||||
"min_compatible_shard_node": ""
|
||||
"min_compatible_shard_node": "",
|
||||
"include_named_queries_score": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"security.create_cross_cluster_api_key": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_security/cross_cluster/api_key"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-cross-cluster-api-key.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"security.update_cross_cluster_api_key": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_security/cross_cluster/api_key/{id}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-cross-cluster-api-key.html"
|
||||
}
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
"transform.delete_transform": {
|
||||
"url_params": {
|
||||
"force": "__flag__",
|
||||
"delete_dest_index": "__flag__",
|
||||
"timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"watcher.get_settings": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_watcher/settings"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-settings.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"watcher.update_settings": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_watcher/settings"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-update-settings.html"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue