Skip to content

Commit

Permalink
[Console] Mappings for 7.5 (#47735)
Browse files Browse the repository at this point in the history
* First pass of spec update to OSS plugin

* Update existing doc links

* Move data_frame files to new depreceated namespace

* Removing this setting per elastic/elasticsearch#47717

* Add new files

* Added transforms overrides

* Updated deprecated data transforms file names
Fixed broken __template's
Updated autocomplete for new transforms endpoints
  • Loading branch information
jloleysens authored Oct 11, 2019
1 parent 18257fb commit cf4c571
Show file tree
Hide file tree
Showing 52 changed files with 343 additions and 47 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{}
{
"documentation": {
"methods": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"cat.recovery": {
"url_params": {
"format": "",
"active_only": "__flag__",
"bytes": [
"b",
"k",
Expand All @@ -15,9 +16,11 @@
"p",
"pb"
],
"detailed": "__flag__",
"master_timeout": "",
"h": [],
"help": "__flag__",
"index": [],
"s": [],
"v": "__flag__"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"_search/scroll",
"_search/scroll/{scroll_id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
],
"patterns": [
"_count",
"{indices}/_count"
"{indices}/_count",
"{indices}/{type}/_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 @@ -13,8 +13,7 @@
"version_type": [
"internal",
"external",
"external_gte",
"force"
"external_gte"
],
"pipeline": ""
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"delete_by_query": {
"url_params": {
"analyzer": "",
"analyze_wildcard": "__flag__",
"default_operator": [
"AND",
Expand Down Expand Up @@ -31,6 +30,7 @@
"dfs_query_then_fetch"
],
"search_timeout": "",
"size": "",
"max_docs": "all documents",
"sort": [],
"_source": [],
Expand All @@ -52,7 +52,8 @@
"POST"
],
"patterns": [
"{indices}/_delete_by_query"
"{indices}/_delete_by_query",
"{indices}/{type}/_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 @@ -17,16 +17,15 @@
"version_type": [
"internal",
"external",
"external_gte",
"force"
"external_gte"
],
"if_seq_no": "",
"if_primary_term": "",
"pipeline": ""
},
"methods": [
"POST",
"PUT"
"PUT",
"POST"
],
"patterns": [
"{indices}/_doc/{id}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"_flush/synced",
"{indices}/_flush/synced"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html#synced-flush-api"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"indices.shrink": {
"url_params": {
"copy_settings": "__flag__",
"timeout": "",
"master_timeout": "",
"wait_for_active_shards": ""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"indices.split": {
"url_params": {
"copy_settings": "__flag__",
"timeout": "",
"master_timeout": "",
"wait_for_active_shards": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
""
],
"documentation": "https://www.elastic.co/guide/"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
],
"patterns": [
"_msearch",
"{indices}/_msearch"
"{indices}/_msearch",
"{indices}/{type}/_msearch"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
],
"typed_keys": "__flag__",
"max_concurrent_searches": "",
"rest_total_hits_as_int": "__flag__",
"ccs_minimize_roundtrips": "__flag__"
"rest_total_hits_as_int": "__flag__"
},
"methods": [
"GET",
"POST"
],
"patterns": [
"_msearch/template",
"{indices}/_msearch/template"
"{indices}/_msearch/template",
"{indices}/{type}/_msearch/template"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
],
"patterns": [
"_mtermvectors",
"{indices}/_mtermvectors"
"{indices}/_mtermvectors",
"{indices}/{type}/_mtermvectors"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
""
],
"documentation": "https://www.elastic.co/guide/"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"_render/template",
"_render/template/{id}"
],
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
],
"patterns": [
"_search",
"{indices}/_search"
"{indices}/_search",
"{indices}/{type}/_search"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
"explain": "__flag__",
"profile": "__flag__",
"typed_keys": "__flag__",
"rest_total_hits_as_int": "__flag__",
"ccs_minimize_roundtrips": "__flag__"
"rest_total_hits_as_int": "__flag__"
},
"methods": [
"GET",
"POST"
],
"patterns": [
"_search/template",
"{indices}/_search/template"
"{indices}/_search/template",
"{indices}/{type}/_search/template"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"snapshot.cleanup_repository": {
"url_params": {
"master_timeout": "",
"timeout": ""
},
"methods": [
"POST"
],
"patterns": [
"_snapshot/{repository}/_cleanup"
],
"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 @@ -24,7 +24,9 @@
],
"patterns": [
"{indices}/_termvectors/{id}",
"{indices}/_termvectors"
"{indices}/_termvectors",
"{indices}/{type}/{id}/_termvectors",
"{indices}/{type}/_termvectors"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"dfs_query_then_fetch"
],
"search_timeout": "",
"size": "",
"max_docs": "all documents",
"sort": [],
"_source": [],
Expand All @@ -54,7 +55,8 @@
"POST"
],
"patterns": [
"{indices}/_update_by_query"
"{indices}/_update_by_query",
"{indices}/{type}/_update_by_query"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"allocation.disk.threshold_enabled": { "__one_of": [false, true] },
"allocation.disk.watermark.low": "85%",
"allocation.disk.watermark.high": "90%",
"allocation.disk.include_relocations": { "__one_of": [true, false] },
"allocation.disk.reroute_interval": "60s",
"allocation.exclude": {
"_ip": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.delete_data_frame_transform": {
"data_frame_transform_deprecated.delete_transform": {
"url_params": {
"force": "__flag__"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.get_data_frame_transform": {
"data_frame_transform_deprecated.get_transform": {
"url_params": {
"from": 0,
"size": 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.get_data_frame_transform_stats": {
"data_frame_transform_deprecated.get_transform_stats": {
"url_params": {
"from": "",
"size": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.preview_data_frame_transform": {
"data_frame_transform_deprecated.preview_transform": {
"methods": [
"POST"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.put_data_frame_transform": {
"data_frame_transform_deprecated.put_transform": {
"url_params": {
"defer_validation": "__flag__"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.start_data_frame_transform": {
"data_frame_transform_deprecated.start_transform": {
"url_params": {
"timeout": ""
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.stop_data_frame_transform": {
"data_frame_transform_deprecated.stop_transform": {
"url_params": {
"wait_for_completion": "__flag__",
"timeout": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data_frame.update_data_frame_transform": {
"data_frame_transform_deprecated.update_transform": {
"url_params": {
"defer_validation": "__flag__"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
"_slm/policy/{policy_id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
"_slm/policy/{policy_id}/_execute"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"slm.execute_retention": {
"methods": [
"POST"
],
"patterns": [
"_slm/_execute_retention"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"_slm/policy/{policy_id}",
"_slm/policy"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"slm.get_stats": {
"methods": [
"GET"
],
"patterns": [
"_slm/stats"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-get-stats.html"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"patterns": [
"_slm/policy/{policy_id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html"
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"transform.delete_transform": {
"url_params": {
"force": "__flag__"
},
"methods": [
"DELETE"
],
"patterns": [
"_transform/{transform_id}"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html"
}
}
Loading

0 comments on commit cf4c571

Please sign in to comment.