mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Console] Autocomplete definitions (manual backport) (#105086)
* [Console] Removed x-pack console extensions folder and moved json files to src/plugins/console * [Console] Generated console definitions with ES repo on master branch * Added some overrides and doc links fixes Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
a4a7253d30
commit
538dfba513
404 changed files with 1587 additions and 390 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -315,7 +315,6 @@
|
|||
/src/plugins/es_ui_shared/ @elastic/kibana-stack-management
|
||||
/x-pack/plugins/cross_cluster_replication/ @elastic/kibana-stack-management
|
||||
/x-pack/plugins/index_lifecycle_management/ @elastic/kibana-stack-management
|
||||
/x-pack/plugins/console_extensions/ @elastic/kibana-stack-management
|
||||
/x-pack/plugins/grokdebugger/ @elastic/kibana-stack-management
|
||||
/x-pack/plugins/index_management/ @elastic/kibana-stack-management
|
||||
/x-pack/plugins/license_api_guard/ @elastic/kibana-stack-management
|
||||
|
@ -330,7 +329,6 @@
|
|||
/x-pack/plugins/ingest_pipelines/ @elastic/kibana-stack-management
|
||||
/packages/kbn-ace/ @elastic/kibana-stack-management
|
||||
/packages/kbn-monaco/ @elastic/kibana-stack-management
|
||||
#CC# /x-pack/plugins/console_extensions/ @elastic/kibana-stack-management
|
||||
#CC# /x-pack/plugins/cross_cluster_replication/ @elastic/kibana-stack-management
|
||||
|
||||
# Security Solution
|
||||
|
|
|
@ -354,10 +354,6 @@ The plugin exposes the static DefaultEditorController class to consume.
|
|||
The client-side plugin configures following values:
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/console_extensions/README.md[consoleExtensions]
|
||||
|This plugin provides autocomplete definitions of licensed APIs to the OSS Console plugin.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/cross_cluster_replication/README.md[crossClusterReplication]
|
||||
|You can run a local cluster and simulate a remote cluster within a single Kibana directory.
|
||||
|
||||
|
|
|
@ -18,15 +18,10 @@ git pull --depth=1 origin master
|
|||
|
||||
### Usage
|
||||
|
||||
You need to run the command twice: once for the **OSS** specs and once for the **X-Pack** specs
|
||||
At the root of the Kibana repository, run the following commands:
|
||||
|
||||
```sh
|
||||
# OSS
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/rest-api-spec/src/main/resources/rest-api-spec/api/*" -d "src/plugins/console/server/lib/spec_definitions/json/generated"
|
||||
|
||||
# X-pack
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" -d "x-pack/plugins/console_extensions/server/lib/spec_definitions/json/generated"
|
||||
```
|
||||
|
||||
### Information used in Console that is not available in the REST spec
|
||||
|
|
|
@ -37,6 +37,7 @@ module.exports = (params) => {
|
|||
case 'string':
|
||||
case 'number':
|
||||
case 'number|string':
|
||||
case 'boolean|long':
|
||||
result[param] = defaultValue || '';
|
||||
break;
|
||||
case 'list':
|
||||
|
|
|
@ -179,6 +179,29 @@ const dropProcessorDefinition = {
|
|||
},
|
||||
};
|
||||
|
||||
// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/enrich-processor.html
|
||||
const enrichProcessorDefinition = {
|
||||
enrich: {
|
||||
__template: {
|
||||
policy_name: '',
|
||||
field: '',
|
||||
target_field: '',
|
||||
},
|
||||
policy_name: '',
|
||||
field: '',
|
||||
target_field: '',
|
||||
ignore_missing: {
|
||||
__one_of: [false, true],
|
||||
},
|
||||
override: {
|
||||
__one_of: [true, false],
|
||||
},
|
||||
max_matches: 1,
|
||||
shape_relation: 'INTERSECTS',
|
||||
...commonPipelineParams,
|
||||
},
|
||||
};
|
||||
|
||||
// Based on https://www.elastic.co/guide/en/elasticsearch/reference/master/fail-processor.html
|
||||
const failProcessorDefinition = {
|
||||
fail: {
|
||||
|
@ -279,13 +302,26 @@ const inferenceProcessorDefinition = {
|
|||
inference: {
|
||||
__template: {
|
||||
model_id: '',
|
||||
field_map: {},
|
||||
inference_config: {},
|
||||
field_mappings: {},
|
||||
},
|
||||
model_id: '',
|
||||
field_map: {},
|
||||
inference_config: {},
|
||||
target_field: '',
|
||||
model_id: '',
|
||||
field_mappings: {
|
||||
__template: {},
|
||||
},
|
||||
inference_config: {
|
||||
regression: {
|
||||
__template: {},
|
||||
results_field: '',
|
||||
},
|
||||
classification: {
|
||||
__template: {},
|
||||
results_field: '',
|
||||
num_top_classes: 2,
|
||||
top_classes_results_field: '',
|
||||
},
|
||||
},
|
||||
...commonPipelineParams,
|
||||
},
|
||||
};
|
||||
|
@ -530,6 +566,7 @@ const processorDefinition = {
|
|||
dissectProcessorDefinition,
|
||||
dotExpanderProcessorDefinition,
|
||||
dropProcessorDefinition,
|
||||
enrichProcessorDefinition,
|
||||
failProcessorDefinition,
|
||||
foreachProcessorDefinition,
|
||||
geoipProcessorDefinition,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"async_search.get": {
|
||||
"url_params": {
|
||||
"wait_for_completion": "",
|
||||
"wait_for_completion_timeout": "",
|
||||
"keep_alive": "",
|
||||
"typed_keys": "__flag__"
|
||||
},
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"async_search.status": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_async_search/status/{id}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html"
|
||||
}
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"async_search.submit": {
|
||||
"url_params": {
|
||||
"wait_for_completion": "",
|
||||
"clean_on_completion": "__flag__",
|
||||
"wait_for_completion_timeout": "",
|
||||
"keep_on_completion": "__flag__",
|
||||
"keep_alive": "",
|
||||
"batched_reduce_size": "",
|
||||
"request_cache": "__flag__",
|
||||
|
@ -23,6 +23,7 @@
|
|||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"hidden",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
|
@ -51,7 +52,7 @@
|
|||
"suggest_text": "",
|
||||
"timeout": "",
|
||||
"track_scores": "__flag__",
|
||||
"track_total_hits": "__flag__",
|
||||
"track_total_hits": "",
|
||||
"allow_partial_search_results": "__flag__",
|
||||
"typed_keys": "__flag__",
|
||||
"version": "__flag__",
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"autoscaling.delete_autoscaling_policy": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_autoscaling/policy/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"autoscaling.get_autoscaling_capacity": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_autoscaling/capacity"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"autoscaling.get_autoscaling_policy": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_autoscaling/policy/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"autoscaling.put_autoscaling_policy": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_autoscaling/policy/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html"
|
||||
}
|
||||
}
|
|
@ -13,7 +13,8 @@
|
|||
"_source": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"pipeline": ""
|
||||
"pipeline": "",
|
||||
"require_alias": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"POST",
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
"p",
|
||||
"pb"
|
||||
],
|
||||
"local": "__flag__",
|
||||
"master_timeout": "",
|
||||
"h": [],
|
||||
"health": [
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"cat.ml_datafeeds": {
|
||||
"url_params": {
|
||||
"allow_no_match": "__flag__",
|
||||
"allow_no_datafeeds": "__flag__",
|
||||
"format": "",
|
||||
"h": [],
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"cat.ml_jobs": {
|
||||
"url_params": {
|
||||
"allow_no_match": "__flag__",
|
||||
"allow_no_jobs": "__flag__",
|
||||
"bytes": [
|
||||
"b",
|
|
@ -16,7 +16,6 @@
|
|||
],
|
||||
"format": "",
|
||||
"full_id": "__flag__",
|
||||
"local": "__flag__",
|
||||
"master_timeout": "",
|
||||
"h": [],
|
||||
"help": "__flag__",
|
||||
|
@ -30,7 +29,8 @@
|
|||
"micros",
|
||||
"nanos"
|
||||
],
|
||||
"v": "__flag__"
|
||||
"v": "__flag__",
|
||||
"include_unloaded_segments": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"master_timeout": "",
|
||||
"h": [],
|
||||
"help": "__flag__",
|
||||
"include_bootstrap": "__flag__",
|
||||
"s": [],
|
||||
"v": "__flag__"
|
||||
},
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
"p",
|
||||
"pb"
|
||||
],
|
||||
"local": "__flag__",
|
||||
"master_timeout": "",
|
||||
"h": [],
|
||||
"help": "__flag__",
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
"cat.tasks": {
|
||||
"url_params": {
|
||||
"format": "",
|
||||
"node_id": [],
|
||||
"nodes": [],
|
||||
"actions": [],
|
||||
"detailed": "__flag__",
|
||||
"parent_task": "",
|
||||
"parent_task_id": "",
|
||||
"h": [],
|
||||
"help": "__flag__",
|
||||
"s": [],
|
||||
|
|
|
@ -2,13 +2,14 @@
|
|||
"cat.thread_pool": {
|
||||
"url_params": {
|
||||
"format": "",
|
||||
"size": [
|
||||
"",
|
||||
"k",
|
||||
"time": [
|
||||
"d",
|
||||
"h",
|
||||
"m",
|
||||
"g",
|
||||
"t",
|
||||
"p"
|
||||
"s",
|
||||
"ms",
|
||||
"micros",
|
||||
"nanos"
|
||||
],
|
||||
"local": "__flag__",
|
||||
"master_timeout": "",
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"cat.transforms": {
|
||||
"url_params": {
|
||||
"from": 0,
|
||||
"size": 0,
|
||||
"allow_no_match": "__flag__",
|
||||
"format": "",
|
||||
"h": [],
|
||||
"help": "__flag__",
|
||||
"s": [],
|
||||
"time": [
|
||||
"d",
|
||||
"h",
|
||||
"m",
|
||||
"s",
|
||||
"ms",
|
||||
"micros",
|
||||
"nanos"
|
||||
],
|
||||
"v": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_cat/transforms",
|
||||
"_cat/transforms/{transform_id}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html"
|
||||
}
|
||||
}
|
|
@ -6,6 +6,6 @@
|
|||
"patterns": [
|
||||
"_search/scroll"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"close_point_in_time": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_pit"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html"
|
||||
}
|
||||
}
|
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_component_template/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"cluster.delete_voting_config_exclusions": {
|
||||
"url_params": {
|
||||
"wait_for_removal": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_cluster/voting_config_exclusions"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"cluster.exists_component_template": {
|
||||
"url_params": {
|
||||
"master_timeout": "",
|
||||
"local": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"HEAD"
|
||||
],
|
||||
"patterns": [
|
||||
"_component_template/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
|
||||
}
|
||||
}
|
|
@ -12,5 +12,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/getting-component-templates.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"patterns": [
|
||||
"_cluster/settings"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-get-settings.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"cluster.post_voting_config_exclusions": {
|
||||
"url_params": {
|
||||
"node_ids": "",
|
||||
"node_names": "",
|
||||
"timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_cluster/voting_config_exclusions"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html"
|
||||
}
|
||||
}
|
|
@ -5,10 +5,12 @@
|
|||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"PUT"
|
||||
"PUT",
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_component_template/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html" }
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"dangling_indices.delete_dangling_index": {
|
||||
"url_params": {
|
||||
"accept_data_loss": "__flag__",
|
||||
"timeout": "",
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_dangling/{index_uuid}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"dangling_indices.import_dangling_index": {
|
||||
"url_params": {
|
||||
"accept_data_loss": "__flag__",
|
||||
"timeout": "",
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_dangling/{index_uuid}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"dangling_indices.list_dangling_indices": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_dangling"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.delete_transform": {
|
||||
"url_params": {
|
||||
"force": "__flag__"
|
||||
},
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.get_transform": {
|
||||
"url_params": {
|
||||
"from": 0,
|
||||
"size": 0,
|
||||
"allow_no_match": "__flag__",
|
||||
"exclude_generated": "__flag__"
|
||||
},
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.get_transform_stats": {
|
||||
"url_params": {
|
||||
"from": "",
|
||||
"size": "",
|
||||
"allow_no_match": "__flag__"
|
||||
},
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.preview_transform": {
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.put_transform": {
|
||||
"url_params": {
|
||||
"defer_validation": "__flag__"
|
||||
},
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.start_transform": {
|
||||
"url_params": {
|
||||
"timeout": ""
|
||||
},
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.stop_transform": {
|
||||
"url_params": {
|
||||
"wait_for_completion": "__flag__",
|
||||
"timeout": "",
|
||||
"allow_no_match": "__flag__"
|
||||
},
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"data_frame_transform_deprecated.update_transform": {
|
||||
"url_params": {
|
||||
"defer_validation": "__flag__"
|
||||
},
|
||||
"methods": [],
|
||||
"patterns": [],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html"
|
||||
}
|
||||
}
|
|
@ -15,8 +15,7 @@
|
|||
"version_type": [
|
||||
"internal",
|
||||
"external",
|
||||
"external_gte",
|
||||
"force"
|
||||
"external_gte"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
"dfs_query_then_fetch"
|
||||
],
|
||||
"search_timeout": "",
|
||||
"size": "",
|
||||
"max_docs": "all documents",
|
||||
"sort": [],
|
||||
"_source": [],
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"eql.delete": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_eql/search/{id}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"eql.get": {
|
||||
"url_params": {
|
||||
"wait_for_completion_timeout": "",
|
||||
"keep_alive": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_eql/search/{id}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"eql.get_status": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_eql/search/status/{id}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-async-eql-status-api.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"eql.search": {
|
||||
"url_params": {
|
||||
"wait_for_completion_timeout": "",
|
||||
"keep_on_completion": "__flag__",
|
||||
"keep_alive": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_eql/search"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html"
|
||||
}
|
||||
}
|
|
@ -13,8 +13,7 @@
|
|||
"version_type": [
|
||||
"internal",
|
||||
"external",
|
||||
"external_gte",
|
||||
"force"
|
||||
"external_gte"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
"version_type": [
|
||||
"internal",
|
||||
"external",
|
||||
"external_gte",
|
||||
"force"
|
||||
"external_gte"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"features.get_features": {
|
||||
"url_params": {
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_features"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-features-api.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"features.reset_features": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_features/_reset"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/reset-features-api.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"fleet.global_checkpoints": {
|
||||
"url_params": {
|
||||
"wait_for_advance": "__flag__",
|
||||
"wait_for_index": "__flag__",
|
||||
"checkpoints": [],
|
||||
"timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_fleet/global_checkpoints"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-global-checkpoints.html"
|
||||
}
|
||||
}
|
|
@ -13,8 +13,7 @@
|
|||
"version_type": [
|
||||
"internal",
|
||||
"external",
|
||||
"external_gte",
|
||||
"force"
|
||||
"external_gte"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_script_context"
|
||||
]
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_script_language"
|
||||
]
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
"version_type": [
|
||||
"internal",
|
||||
"external",
|
||||
"external_gte",
|
||||
"force"
|
||||
"external_gte"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"ilm.migrate_to_data_tiers": {
|
||||
"url_params": {
|
||||
"dry_run": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_ilm/migrate_to_data_tiers"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html"
|
||||
}
|
||||
}
|
|
@ -21,7 +21,8 @@
|
|||
],
|
||||
"if_seq_no": "",
|
||||
"if_primary_term": "",
|
||||
"pipeline": ""
|
||||
"pipeline": "",
|
||||
"require_alias": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"PUT",
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"indices.add_block": {
|
||||
"url_params": {
|
||||
"timeout": "",
|
||||
"master_timeout": "",
|
||||
"ignore_unavailable": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"hidden",
|
||||
"none",
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_block/{block}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html"
|
||||
}
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"indices.create": {
|
||||
"url_params": {
|
||||
"include_type_name": "__flag__",
|
||||
"wait_for_active_shards": "",
|
||||
"timeout": "",
|
||||
"master_timeout": ""
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"indices.create_data_stream": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_data_stream/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"indices.data_streams_stats": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_data_stream/_stats",
|
||||
"_data_stream/{name}/_stats"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"indices.delete_data_stream": {
|
||||
"url_params": {
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"hidden",
|
||||
"none",
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_data_stream/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"indices.delete_index_template": {
|
||||
"url_params": {
|
||||
"timeout": "",
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_index_template/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
}
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue