Skip to content

Commit

Permalink
Added console definitions for OSS. (elastic#66630)
Browse files Browse the repository at this point in the history
* Added console definitions for OSS.

* Ran the script for X-Pack. Primarily documentation updates.

* Added settings property to transforms via overrides.

* Added overrides per the endpoints that are new or have new autocompletions.

* Minor fix to autocomplete

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
  • Loading branch information
3 people authored May 28, 2020
1 parent ceebc7a commit 6178af2
Show file tree
Hide file tree
Showing 99 changed files with 654 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"_source": [],
"_source_excludes": [],
"_source_includes": [],
"pipeline": ""
"pipeline": "",
"prefer_v2_templates": "__flag__"
},
"methods": [
"POST",
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -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-templates.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"cluster.get_component_template": {
"url_params": {
"master_timeout": "",
"local": "__flag__"
},
"methods": [
"GET"
],
"patterns": [
"_component_template",
"_component_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html"
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"cluster.put_component_template": {
"url_params": {
"create": "__flag__",
"timeout": "",
"master_timeout": ""
},
"methods": [
"PUT",
"POST"
],
"patterns": [
"_component_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
],
"patterns": [
"_count",
"{indices}/_count",
"{indices}/{type}/_count"
"{indices}/_count"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"external",
"external_gte"
],
"pipeline": ""
"pipeline": "",
"prefer_v2_templates": "__flag__"
},
"methods": [
"PUT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"POST"
],
"patterns": [
"{indices}/_delete_by_query",
"{indices}/{type}/_delete_by_query"
"{indices}/_delete_by_query"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"HEAD"
],
"patterns": [
"{indices}/_doc/{id}",
"{indices}/{type}/{id}"
"{indices}/_doc/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"POST"
],
"patterns": [
"{indices}/_explain/{id}",
"{indices}/{type}/{id}/_explain"
"{indices}/_explain/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"GET"
],
"patterns": [
"{indices}/_doc/{id}",
"{indices}/{type}/{id}"
"{indices}/_doc/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
],
"patterns": [
"_script_context"
]
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
],
"patterns": [
"_script_language"
]
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"GET"
],
"patterns": [
"{indices}/_source/{id}",
"{indices}/{type}/{id}/_source"
"{indices}/_source/{id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@
],
"if_seq_no": "",
"if_primary_term": "",
"pipeline": ""
"pipeline": "",
"prefer_v2_templates": "__flag__"
},
"methods": [
"PUT",
"POST"
],
"patterns": [
"{indices}/_doc/{id}",
"{indices}/_doc",
"{indices}/{type}",
"{indices}/{type}/{id}"
"{indices}/_doc"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"include_type_name": "__flag__",
"wait_for_active_shards": "",
"timeout": "",
"master_timeout": ""
"master_timeout": "",
"prefer_v2_templates": "__flag__"
},
"methods": [
"PUT"
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"indices.delete_data_stream": {
"methods": [
"DELETE"
],
"patterns": [
"_data_stream/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"indices.exists_index_template": {
"url_params": {
"flat_settings": "__flag__",
"master_timeout": "",
"local": "__flag__"
},
"methods": [
"HEAD"
],
"patterns": [
"_index_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"indices.get_data_streams": {
"methods": [
"GET"
],
"patterns": [
"_data_streams",
"_data_streams/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
],
"patterns": [
"_mapping/field/{fields}",
"{indices}/_mapping/field/{fields}",
"_mapping/{type}/field/{fields}",
"{indices}/_mapping/{type}/field/{fields}"
"{indices}/_mapping/field/{fields}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"indices.get_index_template": {
"url_params": {
"flat_settings": "__flag__",
"master_timeout": "",
"local": "__flag__"
},
"methods": [
"GET"
],
"patterns": [
"_index_template",
"_index_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
],
"patterns": [
"_mapping",
"{indices}/_mapping",
"_mapping/{type}",
"{indices}/_mapping/{type}"
"{indices}/_mapping"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"indices.put_index_template": {
"url_params": {
"create": "__flag__",
"cause": "",
"master_timeout": ""
},
"methods": [
"PUT",
"POST"
],
"patterns": [
"_index_template/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,7 @@
"POST"
],
"patterns": [
"{indices}/_mapping",
"{indices}/{type}/_mapping",
"{indices}/_mapping/{type}",
"{indices}/{type}/_mappings",
"{indices}/_mappings/{type}",
"_mappings/{type}",
"{indices}/_mappings",
"_mapping/{type}"
"{indices}/_mapping"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"include_type_name": "__flag__",
"order": "",
"create": "__flag__",
"master_timeout": "",
"flat_settings": "__flag__"
"master_timeout": ""
},
"methods": [
"PUT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"timeout": "",
"dry_run": "__flag__",
"master_timeout": "",
"wait_for_active_shards": ""
"wait_for_active_shards": "",
"prefer_v2_templates": "__flag__"
},
"methods": [
"POST"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"indices.simulate_index_template": {
"url_params": {
"create": "__flag__",
"cause": "",
"master_timeout": ""
},
"methods": [
"POST"
],
"patterns": [
"_index_template/_simulate_index/{name}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
}
}
Loading

0 comments on commit 6178af2

Please sign in to comment.