diff --git a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json index 5f66ce1b4c304..e333dd965a588 100644 --- a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json +++ b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json @@ -1,6 +1,7 @@ { "scripts_painless_context": { "stability": "experimental", + "visibility": "public", "documentation": { "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html", "description": "Returns the painless contexts" diff --git a/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json b/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json index 51f88784a7bd4..0f58df7250fd1 100644 --- a/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json +++ b/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json @@ -5,6 +5,7 @@ "description": "Example" }, "stability" : "stable", + "visibility" : "public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json b/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json index c1771144590d9..9f2f1e2475850 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json @@ -5,6 +5,7 @@ "description":"Allows to perform multiple index/update/delete operations in a single request." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/x-ndjson"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json index c75d0dcf60868..db49daeea372b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json @@ -5,6 +5,7 @@ "description":"Shows information about currently configured aliases to indices including filter and routing infos." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json index d23b49275150f..9d19d8bb9569d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json @@ -5,6 +5,7 @@ "description":"Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json index 42fd202225915..64226f87bfd0f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json @@ -5,6 +5,7 @@ "description":"Provides quick access to the document count of the entire cluster, or individual indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json index f214a589dd244..497287a34ade5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json @@ -5,6 +5,7 @@ "description":"Shows how much heap memory is currently being used by fielddata on every data node in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json index 5eda981dd72b0..6b49c8e4428f7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json @@ -5,6 +5,7 @@ "description":"Returns a concise representation of the cluster health." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json index 38a44b9fe412b..7c929dca1370f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json @@ -5,6 +5,7 @@ "description":"Returns help for the Cat APIs." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain" ] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json index 6ea62a6572f57..a809c96c3798a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json @@ -5,6 +5,7 @@ "description":"Returns information about indices: number of primaries and replicas, document counts, disk size, ..." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json index 3f48ee71b652d..9041c48b17ec5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json @@ -5,6 +5,7 @@ "description":"Returns information about the master node." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json index e14139301a772..b92f023323342 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json @@ -5,6 +5,7 @@ "description":"Returns information about custom node attributes." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json index 24fb0c549814c..729d9e805f3ad 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json @@ -5,6 +5,7 @@ "description":"Returns basic statistics about performance of cluster nodes." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json index 6b7885f12bf5f..40601a11b6803 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json @@ -5,6 +5,7 @@ "description":"Returns a concise representation of the cluster pending tasks." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json index 6ccfcf019b459..6dc5ce05ba273 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json @@ -5,6 +5,7 @@ "description":"Returns information about installed plugins across nodes node." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json index 1503eb35b4c36..879314629f968 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json @@ -5,6 +5,7 @@ "description":"Returns information about index shard recoveries, both on-going completed." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json index aef622fbb7613..3dad7a0039c6c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json @@ -5,6 +5,7 @@ "description":"Returns information about snapshot repositories registered in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json index f63dd40fa8bda..7fe66ea3ba887 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json @@ -5,6 +5,7 @@ "description":"Provides low-level information about the segments in the shards of an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json index 44ccb0ec38d3f..24f4a4beceae5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json @@ -5,6 +5,7 @@ "description":"Provides a detailed view of shard allocation on nodes." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json index d62a251cb9591..3b72e8a1ebc1a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json @@ -5,6 +5,7 @@ "description":"Returns all snapshots in a specific repository." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json index 129598fb649c3..070179dbbe1e3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json @@ -5,6 +5,7 @@ "description":"Returns information about the tasks currently executing on one or more nodes in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json index 24c93cdf3f35c..e7ac67c8612b9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json @@ -5,6 +5,7 @@ "description":"Returns information about existing templates." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json index 9282ec432cd0f..1bd61a29725c1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json @@ -5,6 +5,7 @@ "description":"Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json index 457448e66d6e8..2d76e1e10d2ba 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json @@ -5,6 +5,7 @@ "description":"Explicitly clears the search context for a scroll." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json","text/plain"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json index 55f39002b32fa..36f341d761531 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json @@ -5,6 +5,7 @@ "description":"Provides explanations for shard allocations in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json index 62045d57e1127..041c1b35a2e5b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json @@ -5,6 +5,7 @@ "description":"Deletes a component template" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json index fa0131f0c7cf4..ff2abbe82a2de 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json @@ -5,6 +5,7 @@ "description":"Clears cluster voting config exclusions." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json index 585d8cd11fe80..818d034ca8158 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a particular component template exist" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json index 514f9c8ff89a7..67b3c20dc960f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json @@ -5,6 +5,7 @@ "description":"Returns one or more component templates" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json index e9698a48f66b8..9708a8606fdfe 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json @@ -5,6 +5,7 @@ "description":"Returns cluster settings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json index 62bce4c0ebe57..91712bbbded29 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json @@ -5,6 +5,7 @@ "description":"Returns basic information about the health of the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json index 185924a28375d..0ce718b3fffc4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json @@ -5,6 +5,7 @@ "description":"Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json index 37603309b4347..dcdf0f1f2c598 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json @@ -5,6 +5,7 @@ "description":"Updates the cluster voting config exclusions by node ids or node names." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json index f91a923a649cc..4b7b032b43e13 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json @@ -5,6 +5,7 @@ "description":"Creates or updates a component template" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json index e368b79274c82..77aac96571a38 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json @@ -5,6 +5,7 @@ "description":"Updates the cluster settings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json index 8944df88519c2..689d10606b0ef 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json @@ -5,6 +5,7 @@ "description":"Returns the information about configured remote clusters." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json index 7bdca2e6f707b..2f5437037e1e6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json @@ -5,6 +5,7 @@ "description":"Allows to manually change the allocation of individual shards in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json index 9978eb64d59df..faf1aafd1f881 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json @@ -5,6 +5,7 @@ "description":"Returns a comprehensive information about the state of the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json index 1e890f9842f1e..4a8ca46ceba8c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json @@ -5,6 +5,7 @@ "description":"Returns high-level overview of cluster statistics." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/count.json index 6b7a317cfb7d6..6ebeb572f0481 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/count.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/count.json @@ -5,6 +5,7 @@ "description":"Returns number of documents matching a query." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json index 6332274ee9422..9cdb226f98c1e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json @@ -5,6 +5,7 @@ "description":"Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json index 8439bff7ec237..8106e80deeaf8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json @@ -5,6 +5,7 @@ "description": "Deletes the specified dangling index" }, "stability": "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json index 3030ad87f6408..f81afc3558cbd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json @@ -5,6 +5,7 @@ "description": "Imports the specified dangling index" }, "stability": "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json index d17c7620db064..4310faa96185f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json @@ -5,6 +5,7 @@ "description": "Returns all dangling indices." }, "stability": "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json index 2aade10753fdc..28f12a7d1c26f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json @@ -5,6 +5,7 @@ "description":"Removes a document from the index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json index 32ee84bf6452c..9b57fa6c200eb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json @@ -5,6 +5,7 @@ "description":"Deletes documents matching the provided query." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json index 94140587dd16c..e8ff1a61f83f8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json @@ -5,6 +5,7 @@ "description":"Changes the number of requests per second for a particular Delete By Query operation." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json index a52334c9ea88b..cf6573372ddb2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json @@ -5,6 +5,7 @@ "description":"Deletes a script." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json index f63f5ae249759..99e9793ebffe4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a document exists in an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json b/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json index 8fff1923b5335..aff6a275dfcbe 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a document source exists in an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json b/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json index 5a92dab6d3b9c..8b25836d97154 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json @@ -5,6 +5,7 @@ "description":"Returns information about why a specific matches (or doesn't match) a query." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json b/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json index 5679fd793cebf..d2632a12676ef 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json @@ -5,6 +5,7 @@ "description":"Returns the information about the capabilities of fields among multiple indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json index 5c7f92d2ab28a..f529c8b51483c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json @@ -5,6 +5,7 @@ "description":"Returns a document." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json index 78722ee4d34a5..ae11aa0736307 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json @@ -5,6 +5,7 @@ "description":"Returns a script." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json index 9b0a41e5e0c79..5f62e05756d95 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json @@ -5,6 +5,7 @@ "description":"Returns all script contexts." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json index 2ad01021625be..f8df1e76f8d3f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json @@ -5,6 +5,7 @@ "description":"Returns available script types, languages and contexts" }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json index 9215f9885b8f0..a17ae4b027fd5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json @@ -5,6 +5,7 @@ "description":"Returns the source of a document." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json index ee127c4277399..bd94d653014a0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json @@ -5,6 +5,7 @@ "description":"Creates or updates a document in an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json index e417deae51477..24738d1f5bb27 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json @@ -5,6 +5,7 @@ "description":"Adds a block to an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json index 98452114aaf72..a6d8cf6cfc987 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json @@ -5,6 +5,7 @@ "description":"Performs the analysis process on a text and return the tokens breakdown of the text." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json index 1a5b2e7337e85..064a7573b3224 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json @@ -5,6 +5,7 @@ "description":"Clears all or specific caches for one or more indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json index 3838d9c399973..43a6383a1e75f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json @@ -5,6 +5,7 @@ "description": "Clones an index" }, "stability": "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json index 720a0a17b07e8..0738216d1ee86 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json @@ -5,6 +5,7 @@ "description":"Closes an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json index f48d90953747c..3a3f279775fa8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json @@ -5,6 +5,7 @@ "description":"Creates an index with optional settings and mappings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json index 030d6f3056514..252ba75473f68 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json @@ -5,6 +5,7 @@ "description":"Deletes an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json index e8901e728f493..7ec072a4582d9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json @@ -5,6 +5,7 @@ "description":"Deletes an alias." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json index c92b44c4a228f..a07d654078cfc 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json @@ -5,6 +5,7 @@ "description":"Deletes an index template." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json index dff8a607ff3d7..7d79c2aba13c3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json @@ -5,6 +5,7 @@ "description":"Deletes an index template." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json index 6bfc4fd12295f..b8e18348f489a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a particular index exists." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json index 6bfb9fa73628c..b70854fdc3eb2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a particular alias exists." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json index 204baa0cda3a1..dc0f9ed59c665 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a particular index template exists." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json index 99f0f8445e5e6..9d2b6b15cc054 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a particular index template exists." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json index f779900a7c6c4..1a3fb54c5ea17 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json @@ -5,6 +5,7 @@ "description":"Returns information about whether a particular document type exists. (DEPRECATED)" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json index 450255bc51bd5..f48f9ad1b1803 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json @@ -5,6 +5,7 @@ "description":"Performs the flush operation on one or more indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json index 6d504a31a9a5a..9afc86ccd3d87 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json @@ -5,6 +5,7 @@ "description":"Performs the force merge operation on one or more indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json index 9c06a644afda6..fb4dee07234cc 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json @@ -5,6 +5,7 @@ "description":"Returns information about one or more indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json index 42c086d563326..0a4e4bb9ed90c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json @@ -5,6 +5,7 @@ "description":"Returns an alias." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json index 1cb1e155796e2..8609eb6cf93af 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json @@ -5,6 +5,7 @@ "description":"Returns mapping for one or more fields." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json index b2ed1e3a05bb4..7d47e088f47f8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json @@ -5,6 +5,7 @@ "description":"Returns an index template." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json index 659f00b462fef..4f12862eee0d6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json @@ -5,6 +5,7 @@ "description":"Returns mappings for one or more indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json index 7f2342a1f3ce4..027b337fdea75 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json @@ -5,6 +5,7 @@ "description":"Returns settings for one or more indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json index f01536a9d3711..e1f7c1c0202a5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json @@ -5,6 +5,7 @@ "description":"Returns an index template." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json index a8c10b5f1d2ff..e6c1646d2b01b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json @@ -5,6 +5,7 @@ "description":"Opens an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json index 8aed8191ab925..953f119a30a3f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json @@ -5,6 +5,7 @@ "description":"Creates or updates an alias." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json index a4b9d153c7f16..542f316ad7ab8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json @@ -5,6 +5,7 @@ "description":"Creates or updates an index template." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json index 9f0fa4bb4b4cc..266a926f8f49c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json @@ -5,6 +5,7 @@ "description":"Updates the index mappings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json index f152cf9d7989f..c1f3079995de9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json @@ -5,6 +5,7 @@ "description":"Updates the index settings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json index afefc2d5f17d2..e87c625d1cfb1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json @@ -5,6 +5,7 @@ "description":"Creates or updates an index template." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json index 03ac164f13c9a..b1174b89df0bd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json @@ -5,6 +5,7 @@ "description":"Returns information about ongoing index shard recoveries." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json index 615e861166d73..0932d77e93401 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json @@ -5,6 +5,7 @@ "description":"Performs the refresh operation in one or more indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json index 7624e7b6d5ac8..e51c2d5227b67 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json @@ -5,6 +5,7 @@ "description":"Returns information about any matching indices, aliases, and data streams" }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json index 9755faefd978f..603883dab0af8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json @@ -5,6 +5,7 @@ "description":"Updates an alias to point to a new index when the existing index\nis considered to be too large or too old." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json index d09126902aa69..18eecb68564b8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json @@ -5,6 +5,7 @@ "description":"Provides low-level information about segments in a Lucene index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json index 0d40428a4be57..739107dc68681 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json @@ -5,6 +5,7 @@ "description":"Provides store information for shard copies of indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json index d1dd77c17fbd8..cc9bc7c1e2de3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json @@ -5,6 +5,7 @@ "description":"Allow to shrink an existing index into a new index with fewer primary shards." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json index 4c4131b55d8c9..a7d2e21df5a65 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json @@ -5,6 +5,7 @@ "description": "Simulate matching the given index name against the index templates in the system" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json index 81992a198bd5d..23a41a137df74 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json @@ -5,6 +5,7 @@ "description": "Simulate resolving the given template name or body" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json index 9f578aaea81a8..ed623fd130cc6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json @@ -5,6 +5,7 @@ "description":"Allows you to split an existing index into a new index with more primary shards." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json index 66f1f399e2241..92c6801407231 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json @@ -5,6 +5,7 @@ "description":"Provides statistics on operations happening in an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json index 74d46e4c07844..76b33ad11d961 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json @@ -5,6 +5,7 @@ "description":"Updates index aliases." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json index 8fcadaa7707ce..9dbe40258f12b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json @@ -5,6 +5,7 @@ "description":"Allows a user to validate a potentially expensive query without executing it." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/info.json index 1ce6f1f1c45ac..286a06f73671d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/info.json @@ -5,6 +5,7 @@ "description":"Returns basic information about the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json index 475fbf6f8e7eb..a1f6c0f72732a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json @@ -5,6 +5,7 @@ "description":"Deletes a pipeline." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json index b3a99ae05bde6..c438c3bd70172 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json @@ -5,6 +5,7 @@ "description":"Returns a pipeline." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json index b76eb94cfd612..e150d95343729 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json @@ -5,6 +5,7 @@ "description":"Returns a list of the built-in patterns." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json index b2519972c261f..981d4f750a220 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json @@ -5,6 +5,7 @@ "description":"Creates or updates a pipeline." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json index adfcbdb21b557..04b704646d28f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json @@ -5,6 +5,7 @@ "description":"Allows to simulate a pipeline with example documents." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json index cc1067c8ea689..1b771b772bf69 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json @@ -5,6 +5,7 @@ "description":"Allows to get multiple documents in one request." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json index 5671e7ba627f9..0dde4206ecf69 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json @@ -5,6 +5,7 @@ "description":"Allows to execute several search operations in one request." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/x-ndjson"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json index d1b8f1345218f..72b899c13c6e4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json @@ -5,6 +5,7 @@ "description":"Allows to execute several search template operations in one request." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/x-ndjson"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json index e578b4a260a30..fd7a5493363e3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json @@ -5,6 +5,7 @@ "description":"Returns multiple termvectors in one request." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json index 088b138278d6c..1237929976696 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json @@ -5,6 +5,7 @@ "description":"Returns information about hot threads on each node in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json index 7fe975cd97e47..78da8caa0a314 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json @@ -5,6 +5,7 @@ "description":"Returns information about nodes in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json index 58429ea94b039..777a62a7dc3af 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json @@ -5,6 +5,7 @@ "description":"Reloads secure settings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": [ "application/json" ] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json index ef24b9ebb127b..871c8aa42a736 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json @@ -5,6 +5,7 @@ "description":"Returns statistical information about nodes in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json index 98c72ddf824b4..09aeaba8fec01 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json @@ -5,6 +5,7 @@ "description":"Returns low-level information about REST actions usage on nodes." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json index 61e02a9f32890..6615f789623f8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json @@ -5,6 +5,7 @@ "description":"Returns whether the cluster is running." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json index f699d84fdb2e7..29e951848ddd8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json @@ -5,6 +5,7 @@ "description":"Creates or updates a script." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json b/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json index a757323d3b4ec..ec123f3f881b6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json @@ -5,6 +5,7 @@ "description":"Allows to evaluate the quality of ranked search results over a set of typical search queries" }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json index 0506c29065f94..f8038853e4731 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json @@ -5,6 +5,7 @@ "description":"Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json index 884d83040ad15..f53157c36cc64 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json @@ -5,6 +5,7 @@ "description":"Changes the number of requests per second for a particular Reindex operation." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json index 24ab051e52eac..b962c06950884 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json @@ -5,6 +5,7 @@ "description":"Allows to use the Mustache language to pre-render a search definition." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json index e5456ffdec7da..b26d31fb6c0ce 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json @@ -5,6 +5,7 @@ "description":"Allows an arbitrary script to be executed and a result to be returned" }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json index 057d873e3cdb5..553ee83587198 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json @@ -5,6 +5,7 @@ "description":"Allows to retrieve a large numbers of results from a single search request." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search.json index 44d692b8d7ddc..5dfeb8a9fcbec 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search.json @@ -5,6 +5,7 @@ "description":"Returns results matching a query." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json index b0e66fd1e9397..f9afdbfb85f9c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json @@ -5,6 +5,7 @@ "description":"Returns information about the indices and shards that a search request would be executed against." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json index 892d6b73d3cd7..82d7eb761035c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json @@ -5,6 +5,7 @@ "description":"Allows to use the Mustache language to pre-render a search definition." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] @@ -105,7 +106,7 @@ }, "body":{ "description":"The search definition template and its params", - "required": true + "required":true } } } diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json index bab0b3967e874..3d048bf671c49 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json @@ -5,6 +5,7 @@ "description": "Removes stale data from repository." }, "stability": "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json index ea7c6fc0802e5..da9409110aab4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json @@ -5,6 +5,7 @@ "description":"Clones indices from one snapshot into another snapshot in the same repository." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json index c212c7001a047..7f70def77adf5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json @@ -5,6 +5,7 @@ "description":"Creates a snapshot in a repository." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json index 5cb936682368a..504abd3d0765d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json @@ -5,6 +5,7 @@ "description":"Creates a repository." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json index 7be5656196170..5cdb9765ef597 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json @@ -5,6 +5,7 @@ "description":"Deletes one or more snapshots." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json index 1dc811d5ac604..8b6ce52d382f5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json @@ -5,6 +5,7 @@ "description":"Deletes a repository." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json index 3843d55c5fe2d..e37a9797996cc 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json @@ -5,6 +5,7 @@ "description":"Returns information about a snapshot." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json index 2a96787caba6a..c85d018079697 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json @@ -5,6 +5,7 @@ "description":"Returns information about a repository." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json index 0cabeaabb6803..c4ecb5571dafe 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json @@ -5,6 +5,7 @@ "description":"Restores a snapshot." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json index d6e577f3fe58c..e5f1af202d3e9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json @@ -5,6 +5,7 @@ "description":"Returns information about the status of a snapshot." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json index 116117b6e78e2..ce5c1d2935ddb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json @@ -5,6 +5,7 @@ "description":"Verifies a repository." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json index 97fd36c698b31..525c72aaa2748 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json @@ -5,6 +5,7 @@ "description":"Cancels a task, if it can be cancelled through an API." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json index fd8f7b9420f51..0863e05b97f93 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json @@ -5,6 +5,7 @@ "description":"Returns information about a task." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json index 565ca66c08513..058ff36368308 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json @@ -5,6 +5,7 @@ "description":"Returns a list of tasks." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json index 163c227a2c21a..de8cfc684b36a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json @@ -5,6 +5,7 @@ "description":"Returns information and statistics about terms in the fields of a particular document." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json index 9cd75666a4ed7..450f20c0a49ad 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json @@ -5,6 +5,7 @@ "description":"Updates a document with a script or partial document." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json index 4d4f996460aea..6083eccebd652 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json @@ -5,6 +5,7 @@ "description":"Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json index 770121223d763..18895ad443c6f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json @@ -5,6 +5,7 @@ "description":"Changes the number of requests per second for a particular Update By Query operation." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/rest-api-spec/src/main/resources/schema.json b/rest-api-spec/src/main/resources/schema.json index f4263300c9c88..0b46f587709a6 100644 --- a/rest-api-spec/src/main/resources/schema.json +++ b/rest-api-spec/src/main/resources/schema.json @@ -31,7 +31,15 @@ }, "stability": { "type": "string", - "enum": ["stable", "beta", "experimental", "private"] + "enum": ["stable", "beta", "experimental"] + }, + "visibility": { + "type": "string", + "enum": ["private", "feature_flag", "public"] + }, + "feature_flag": { + "type": "string", + "title": "If visibility of the API is set to `feature_flag` this documents the feature_flag to use" }, "headers": { "$ref": "#/definitions/Headers" @@ -46,40 +54,59 @@ "$ref": "#/definitions/Body" } }, - "if": { - "properties": { - "stability": { - "const": "stable" - } - } - }, - "then": { - "properties": { - "documentation": { - "$ref": "#/definitions/Documentation", - "properties": { - "url" : { - "type": ["string"] + "allOf": [ + { + "if": { + "properties": { + "stability": { + "const": "stable" + } + } + }, + "then": { + "properties": { + "documentation": { + "$ref": "#/definitions/Documentation", + "properties": { + "url" : { + "type": ["string"] + } + } + } + } + }, + "else": { + "properties": { + "documentation": { + "$ref": "#/definitions/Documentation", + "properties": { + "url" : { + "type": ["string", "null"] + } + } + } } } - } - } - }, - "else": { - "properties": { - "documentation": { - "$ref": "#/definitions/Documentation", - "properties": { - "url" : { - "type": ["string", "null"] + }, + { + "if": { + "properties": { + "visibility": { + "const": "feature_flag" + } } + }, + "then": { + "required": [ + "feature_flag" + ] } } - } - }, + ], "required": [ "documentation", "stability", + "visibility", "headers", "url" ], diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java index ab1c070cfd25a..c7ab036afd380 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java @@ -43,6 +43,8 @@ public class ClientYamlSuiteRestApi { private Map params = new HashMap<>(); private Body body = Body.NOT_SUPPORTED; private Stability stability; + private Visibility visibility; + private String featureFlag; private List responseMimeTypes; private List requestMimeTypes; @@ -50,6 +52,10 @@ public enum Stability { EXPERIMENTAL, BETA, STABLE } + public enum Visibility { + PRIVATE, FEATURE_FLAG, PUBLIC + } + public enum Body { NOT_SUPPORTED, OPTIONAL, REQUIRED } @@ -123,6 +129,17 @@ public void setStability(String stability) { public Stability getStability() { return this.stability; } + public void setVisibility(String visibility) { + this.visibility = Visibility.valueOf(visibility.toUpperCase(Locale.ROOT)); + } + + public Visibility getVisibility() { return this.visibility; } + + public void setFeatureFlag(String featureFlag) { + this.featureFlag = featureFlag; + } + + public String getFeatureFlag() { return this.featureFlag; } public void setResponseMimeTypes(List mimeTypes) { this.responseMimeTypes = mimeTypes; } diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java index 116f9dfca1e86..eb16e68a6847d 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java @@ -90,6 +90,12 @@ public ClientYamlSuiteRestApi parse(String location, XContentParser parser) thro } else if ("stability".equals(parser.currentName())) { parser.nextToken(); restApi.setStability(parser.textOrNull()); + } else if ("visibility".equals(parser.currentName())) { + parser.nextToken(); + restApi.setVisibility(parser.textOrNull()); + } else if ("feature_flag".equals(parser.currentName())) { + parser.nextToken(); + restApi.setFeatureFlag(parser.textOrNull()); } else if ("url".equals(parser.currentName())) { String currentFieldName = null; assert parser.nextToken() == XContentParser.Token.START_OBJECT; @@ -217,6 +223,18 @@ public ClientYamlSuiteRestApi parse(String location, XContentParser parser) thro if (restApi.getStability() == null) { throw new IllegalArgumentException(apiName + " API does not declare its stability in [" + location + "]"); } + if (restApi.getVisibility() == null) { + throw new IllegalArgumentException(apiName + " API does not declare its visibility explicitly in [" + location + "]"); + } + if (restApi.getVisibility() == ClientYamlSuiteRestApi.Visibility.FEATURE_FLAG + && (restApi.getFeatureFlag() == null || restApi.getFeatureFlag().isEmpty())) { + throw new IllegalArgumentException(apiName + + " API has visibility `feature_flag` but does not document its feature flag in [" + location + "]"); + } + if (restApi.getFeatureFlag() != null && restApi.getVisibility() != ClientYamlSuiteRestApi.Visibility.FEATURE_FLAG) { + throw new IllegalArgumentException(apiName + + " API does not have visibility `feature_flag` but documents a feature flag [" + location + "]"); + } return restApi; } diff --git a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserFailingTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserFailingTests.java index dab1e535f7d47..5d593dbd3665f 100644 --- a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserFailingTests.java +++ b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserFailingTests.java @@ -36,6 +36,7 @@ public void testDuplicateMethods() throws Exception { " \"ping\": {" + " \"documentation\": \"http://www.elasticsearch.org/guide/\"," + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"url\": {" + " \"paths\": [{\"path\":\"/\", \"parts\": {}, \"methods\": [\"PUT\", \"PUT\"]}]," + " \"params\": {" + @@ -53,6 +54,7 @@ public void testDuplicatePaths() throws Exception { " \"ping\": {" + " \"documentation\": \"http://www.elasticsearch.org/guide/\"," + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"url\": {" + " \"paths\": [" + " {\"path\":\"/pingtwo\", \"methods\": [\"PUT\"]}, " + "{\"path\":\"/pingtwo\", \"methods\": [\"PUT\"]}]," + @@ -102,6 +104,7 @@ private void parseAndExpectIllegalArgumentException(String brokenJson, String lo " \"ping\": {" + " \"documentation\": \"http://www.elasticsearch.org/guide/\"," + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"url\": {" + " \"paths\": [{\"path\": \"path\", \"methods\": [\"HEAD\"]}]" + " }," + @@ -118,6 +121,7 @@ private void parseAndExpectIllegalArgumentException(String brokenJson, String lo " \"ping\": {" + " \"documentation\": \"http://www.elasticsearch.org/guide/\"," + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"url\": {" + " \"paths\": [{ \"path\":\"/\", \"parts\": { \"type\":\"boolean\",}}]," + " \"params\": {\n" + diff --git a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java index 60eae68cb5193..05cf9122611bf 100644 --- a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java +++ b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java @@ -137,6 +137,7 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " \"count\": {\n" + " \"documentation\": \"whatever\",\n" + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"url\": {\n" + " \"paths\": [ \n" + " {\n" + @@ -172,6 +173,7 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " \"description\":\"Returns number of documents matching a query.\"\n" + " },\n" + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"headers\": { \"accept\": [\"application/json\"] },\n" + " \"url\":{\n" + " \"paths\":[\n" + @@ -236,6 +238,7 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " },\n" + " \"headers\": { \"accept\": [\"application/json\"] },\n" + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"url\":{\n" + " \"paths\":[\n" + " {\n" + @@ -268,6 +271,7 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " \"description\":\"Creates or updates a document in an index.\"\n" + " },\n" + " \"stability\": \"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"headers\": { " + " \"accept\": [\"application/json\"],\n " + " \"content_type\": [\"application/json\", \"a/mime-type\"]\n " + diff --git a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java index a57b13d481042..605c06bcad266 100644 --- a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java +++ b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java @@ -118,6 +118,7 @@ public void testPathMatching() throws IOException { " \"description\":\"Creates or updates a document in an index.\"\n" + " },\n" + " \"stability\":\"stable\",\n" + + " \"visibility\": \"public\",\n" + " \"headers\": { \"accept\": [\"application/json\"] },\n" + " \"url\":{\n" + " \"paths\":[\n" + diff --git a/x-pack/plugin/core/src/yamlRestTest/resources/rest-api-spec/api/license.get_feature_usage.json b/x-pack/plugin/core/src/yamlRestTest/resources/rest-api-spec/api/license.get_feature_usage.json index 57faa00c161a8..d78e4c45e4f68 100644 --- a/x-pack/plugin/core/src/yamlRestTest/resources/rest-api-spec/api/license.get_feature_usage.json +++ b/x-pack/plugin/core/src/yamlRestTest/resources/rest-api-spec/api/license.get_feature_usage.json @@ -1,6 +1,7 @@ { "license.get_feature_usage":{ "stability":"experimental", + "visibility":"public", "url":{ "paths":[ { diff --git a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_delete_sp.json b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_delete_sp.json index 5369448483874..2001553e750ec 100644 --- a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_delete_sp.json +++ b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_delete_sp.json @@ -4,6 +4,7 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/idp-saml-delete-sp.html" }, "stability": "stable", + "visibility":"private", "url": { "paths": [ { diff --git a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_get_metadata.json b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_get_metadata.json index 2398851c1aead..3e6ac27717eba 100644 --- a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_get_metadata.json +++ b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_get_metadata.json @@ -4,6 +4,7 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/idp-saml-metadata.html" }, "stability": "stable", + "visibility":"private", "url": { "paths": [ { diff --git a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_init.json b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_init.json index 0a3e3469b1d90..ee9a34b64211f 100644 --- a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_init.json +++ b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_init.json @@ -4,6 +4,7 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/idp-saml-init.html" }, "stability": "stable", + "visibility":"private", "url": { "paths": [ { diff --git a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_register_sp.json b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_register_sp.json index 425dab5c0ccaf..752e765741ddd 100644 --- a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_register_sp.json +++ b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_register_sp.json @@ -4,6 +4,7 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/idp-saml-register-sp.html" }, "stability": "stable", + "visibility":"private", "url": { "paths": [ { diff --git a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_validate.json b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_validate.json index ed152b64acd9d..7e8191816df03 100644 --- a/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_validate.json +++ b/x-pack/plugin/identity-provider/src/test/resources/rest-api-spec/api/idp.saml_validate.json @@ -4,6 +4,7 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/idp-saml-validate.html" }, "stability": "stable", + "visibility":"private", "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json index edc2c39ef5cfa..7cfc14487a396 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json @@ -5,6 +5,7 @@ "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json index eed5c7a1481a6..41cf08b631092 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json @@ -5,6 +5,7 @@ "description": "Retrieves the results of a previously submitted async search request given its ID." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json index 1268da06e4ccf..81993cbad29ed 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json @@ -5,6 +5,7 @@ "description": "Retrieves the status of a previously submitted async search request given its ID." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json index 2c83abe295d9e..5cd2b0e26459e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json @@ -5,6 +5,7 @@ "description": "Executes a search request asynchronously." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json index f360ec0975918..9b2f363077dee 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json @@ -5,6 +5,8 @@ "description":"Deletes an autoscaling policy." }, "stability":"experimental", + "visibility":"feature_flag", + "feature_flag":"es.autoscaling_feature_flag_registered", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json index 343d20dddad4f..76275fa9bcd57 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json @@ -5,6 +5,8 @@ "description": "Gets the current autoscaling capacity based on the configured autoscaling policy." }, "stability":"experimental", + "visibility":"feature_flag", + "feature_flag":"es.autoscaling_feature_flag_registered", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json index e00bc2f410852..e71bb131dc59e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json @@ -5,6 +5,8 @@ "description": "Retrieves an autoscaling policy." }, "stability":"experimental", + "visibility":"feature_flag", + "feature_flag":"es.autoscaling_feature_flag_registered", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json index aaceb1a713ebc..2eac19c8c6955 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json @@ -5,6 +5,8 @@ "description": "Creates a new autoscaling policy." }, "stability":"experimental", + "visibility":"feature_flag", + "feature_flag":"es.autoscaling_feature_flag_registered", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json index a22acf8acfb2d..ded66961c3ed5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json @@ -5,6 +5,7 @@ "description": "Gets configuration and usage information about data frame analytics jobs." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json index e155be6b86e3f..16f34f462fc4c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json @@ -5,6 +5,7 @@ "description": "Gets configuration and usage information about datafeeds." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json index 12b78c2864525..8b8cddb818ad9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json @@ -5,6 +5,7 @@ "description": "Gets configuration and usage information about anomaly detection jobs." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json index f2d8f52460ac3..5176b9d4ca69f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json @@ -5,6 +5,7 @@ "description": "Gets configuration and usage information about inference trained models." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json index 37b278224149b..c0dd769dc3d50 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json @@ -5,6 +5,7 @@ "description": "Gets configuration and usage information about transforms." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "text/plain", "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json index aa7dbf6721c73..52f56ca321369 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json @@ -5,6 +5,7 @@ "description": "Deletes auto-follow patterns." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json index 342ccc9106744..6905a53ead480 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json @@ -5,6 +5,7 @@ "description": "Creates a new follower index configured to follow the referenced leader index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json index 8e6d2305cb95e..17ecd57155a94 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json @@ -5,6 +5,7 @@ "description": "Retrieves information about all follower indices, including parameters and status for each follower index" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json index 1ac31585a2b52..54de8c4df64f4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json @@ -5,6 +5,7 @@ "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json index 79c3fee5f72e8..8106a74b9d003 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json @@ -5,6 +5,7 @@ "description": "Removes the follower retention leases from the leader." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json index 0fa16aedec3d7..8073fd72bba33 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json @@ -5,6 +5,7 @@ "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json index cc0146ebbae1d..9375673489e1c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json @@ -5,6 +5,7 @@ "description": "Pauses an auto-follow pattern" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json index 60fd378593c47..a4923df29c565 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json @@ -5,6 +5,7 @@ "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json index fe14c46d6ad24..6331b4ff06106 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json @@ -5,6 +5,7 @@ "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json index 22855428a3b24..b679155b28a09 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json @@ -5,6 +5,7 @@ "description": "Resumes an auto-follow pattern that has been paused" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json index d19dca5075b46..d6addce133a69 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json @@ -5,6 +5,7 @@ "description": "Resumes a follower index that has been paused" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json index 67267ff8863f1..ac47e9c3d0b7e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json @@ -5,6 +5,7 @@ "description": "Gets all stats related to cross-cluster replication." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json index 6fa1dbea4c61b..7a49b4a10987e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json @@ -5,6 +5,7 @@ "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json index a5b1f34ea6aaf..d3f636a1bd077 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json @@ -5,6 +5,7 @@ "description":"Close a point in time" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json index c03d4a33288e5..ac9962fa38f57 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json @@ -5,6 +5,7 @@ "description":"Deletes an existing transform." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json index 276a673cd5ac0..6737a86753764 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json @@ -5,6 +5,7 @@ "description":"Retrieves configuration information for transforms." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json index 0082e09d5bd8e..0fbbcce236a0f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json @@ -5,6 +5,7 @@ "description":"Retrieves usage information for transforms." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json index 43fe1cf04c0bc..bcf683f1ac82e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json @@ -5,6 +5,7 @@ "description":"Previews a transform." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json index 0a11b609c02b4..02d2dc87d1711 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json @@ -5,6 +5,7 @@ "description":"Instantiates a transform." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json index 1508e5b349f43..a7be8c6c765d3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json @@ -5,6 +5,7 @@ "description":"Starts one or more transforms." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json index 4b907e0b945e9..f479f5a13f077 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json @@ -5,6 +5,7 @@ "description":"Stops one or more transforms." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json index 75ae1619dfb99..630a50a58cb4f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json @@ -5,6 +5,7 @@ "description":"Updates certain properties of a transform." }, "stability":"beta", + "visibility":"public", "headers":{ "accept":[ "application/json"], "content_type":["application/json"] @@ -38,7 +39,7 @@ } }, "body":{ - "description" :"The update transform definition", + "description":"The update transform definition", "required":true } } diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json index 4402637abfff0..3137f6b555361 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json @@ -5,6 +5,7 @@ "description": "Deletes an existing enrich policy and its enrich index." }, "stability" : "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json index 7d1007ecd2d04..5e4c8a2251d1d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json @@ -5,6 +5,7 @@ "description": "Creates the enrich index for an existing enrich policy." }, "stability" : "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json index db4a584abf7ab..a3eb51942c4fa 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json @@ -5,6 +5,7 @@ "description": "Gets information about an enrich policy." }, "stability" : "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json index 17acfb8fc6cdd..0d1cefd3e40aa 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json @@ -5,6 +5,7 @@ "description": "Creates a new enrich policy." }, "stability" : "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json index 149039b55ee3b..b4218acf30eac 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json @@ -5,6 +5,7 @@ "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing." }, "stability" : "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json index 08dadbbe38224..18f690227ca3c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json @@ -5,6 +5,7 @@ "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json index ef196e35f5c90..c7a228da97a53 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json @@ -5,6 +5,7 @@ "description": "Returns async results from previously executed Event Query Language (EQL) search" }, "stability": "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json index 961e5fff0febf..6748dfd4acf55 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json @@ -5,6 +5,8 @@ "description": "Returns results matching a query expressed in Event Query Language (EQL)" }, "stability": "stable", + "visibility":"feature_flag", + "feature_flag":"es.eql_feature_flag_registered", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json index 39cf045eeb19f..311716fd6b484 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json @@ -5,6 +5,7 @@ "description": "Explore extracted and summarized information about the documents and terms in an index." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json index cfd7efa5a7834..2ff1031ad5c52 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json @@ -5,6 +5,7 @@ "description": "Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json index 08f1c2df77077..c793ed09281ae 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json @@ -5,6 +5,7 @@ "description": "Retrieves information about the index's current lifecycle state, such as the currently executing phase, action, and step." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json index ce30c7ae08e43..17bf813093dd6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json @@ -5,6 +5,7 @@ "description": "Returns the specified policy definition. Includes the policy version and last modified date." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json index 4eeaf67c45a3b..eba1b93c1e4b0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json @@ -5,6 +5,7 @@ "description":"Retrieves the current index lifecycle management (ILM) status." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json index 21720d951d717..3f46b8fa913b0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json @@ -5,6 +5,7 @@ "description":"Manually moves an index into the specified step and executes that step." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json index 544bf6f7500b6..5a12a778241b3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json @@ -5,6 +5,7 @@ "description":"Creates a lifecycle policy" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json index 07bb24f5571b7..bc684186e15a4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json @@ -5,6 +5,7 @@ "description":"Removes the assigned lifecycle policy and stops managing the specified index" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json index dee75607881f6..b567d9b73cb16 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json @@ -5,6 +5,7 @@ "description":"Retries executing the policy for an index that is in the ERROR step." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json index 3f07499f74953..88b020071ab82 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json @@ -5,6 +5,7 @@ "description":"Start the index lifecycle management (ILM) plugin." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json index 1e2ada7b7ac6e..8401f93badfc4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json @@ -5,6 +5,7 @@ "description":"Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json index 398092ddeeea2..f8f3e238661c7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json @@ -5,6 +5,7 @@ "description":"Creates a data stream" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json index 153ba42c5ea13..90a3574d5b4bc 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json @@ -5,6 +5,7 @@ "description":"Provides statistics on operations happening in a data stream." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json index 871e9bdcf4391..26f015f6028c6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json @@ -5,6 +5,7 @@ "description":"Deletes a data stream." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json index 5546c79d9d20d..e743a53cab379 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json @@ -5,6 +5,7 @@ "description":"Freezes an index. A frozen index has almost no overhead on the cluster (except for maintaining its metadata in memory) and is read-only." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json index 66ae95ae5d2e7..3b41a9e1e777e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json @@ -5,6 +5,7 @@ "description":"Returns data streams." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json index 0ae9d4310ea78..4254ae79a23e8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json @@ -5,6 +5,7 @@ "description":"Migrates an alias to a data stream" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json index 1942dda8a8f1f..5b51a900235ca 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json @@ -5,6 +5,7 @@ "description":"Promotes a data stream from a replicated data stream managed by CCR to a regular data stream" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json index 46aab69166562..67a1d7acd8c9d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json @@ -5,6 +5,7 @@ "description":"Reloads an index's search analyzers and their resources." }, "stability" : "stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json index 738958324fec1..c51f70e141f46 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json @@ -5,6 +5,7 @@ "description":"Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json index c810c0f36eaaa..0ecc702b0155f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json @@ -5,6 +5,7 @@ "description":"Deletes licensing information for the cluster" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json index be1d79d4c441e..16f2c086f3d3d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json @@ -5,6 +5,7 @@ "description":"Retrieves licensing information for the cluster" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json index b2d6c8b86d563..a689daf4fe88a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json @@ -5,6 +5,7 @@ "description":"Retrieves information about the status of the basic license." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json index 0d3a20dfd7dd8..dffa2932a17f9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json @@ -5,6 +5,7 @@ "description":"Retrieves information about the status of the trial license." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json index cbd6d232eddc8..476aa334e3142 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json @@ -5,6 +5,7 @@ "description":"Updates the license for the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json index b21b919eb3d44..8cf6c7b0e204b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json @@ -5,6 +5,7 @@ "description":"Starts an indefinite basic license." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json index b53c5d5620967..3da1801d3b06f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json @@ -5,6 +5,7 @@ "description":"starts a limited time trial license." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json index 537c0c47126e0..6906cacc2bdaf 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json @@ -5,6 +5,7 @@ "description":"Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json index e98764e746ca5..364ae545d870e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json @@ -5,6 +5,7 @@ "description":"Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json index 55152696e41a0..b224c870ed426 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json @@ -5,6 +5,7 @@ "description":"Deletes a calendar." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json index 7bfd397d8bbfb..92fe4ea3486b9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json @@ -5,6 +5,7 @@ "description":"Deletes scheduled events from a calendar." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json index 492a7c84c6dec..e122c41f20858 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json @@ -5,6 +5,7 @@ "description":"Deletes anomaly detection jobs from a calendar." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json index 126fc763324fd..89818ac524cb3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json @@ -5,6 +5,7 @@ "description":"Deletes an existing data frame analytics job." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json index dc2640dad256a..8cff1cbf83e58 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json @@ -5,6 +5,7 @@ "description":"Deletes an existing datafeed." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json index 7df1704ce01f9..c45ca323d40ad 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json @@ -5,6 +5,7 @@ "description":"Deletes expired and unused machine learning data." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json index dfdd9b977c6cd..e275a9dc9ede8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json @@ -5,6 +5,7 @@ "description":"Deletes a filter." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json index 054aac65e927b..45235187b3550 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json @@ -5,6 +5,7 @@ "description":"Deletes forecasts from a machine learning job." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json index 47d157f3639fc..a10e115aeda2c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json @@ -5,6 +5,7 @@ "description":"Deletes an existing anomaly detection job." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json index 0dd69d64ca192..499cb3b19bbbd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json @@ -5,6 +5,7 @@ "description":"Deletes an existing model snapshot." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json index 20c40e6207e95..a7954a6b5a0f1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json @@ -5,6 +5,7 @@ "description":"Deletes an existing trained inference model that is currently not referenced by an ingest pipeline." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json index 1c44af173a205..75bff3b52d99a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json @@ -5,6 +5,7 @@ "description":"Estimates the model memory" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json index 19815d966e6e8..f003155d66895 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json @@ -5,6 +5,7 @@ "description":"Evaluates the data frame analytics for an annotated index." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json index 3b2a35a33e2fb..d1cd6840e0eb6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json @@ -5,6 +5,7 @@ "description":"Explains a data frame analytics config." }, "stability":"beta", + "visibility":"public", "headers":{ "accept":[ "application/json"], "content_type":["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json index dfb5c5da17230..1eae145d0d4a5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json @@ -5,6 +5,7 @@ "description":"Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/x-ndjson"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json index 17074b2d50980..71abaf9528183 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json @@ -5,6 +5,7 @@ "description":"Forces any buffered data to be processed by the job." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json index 21a5f93bbeddd..8a88e9048027f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json @@ -5,6 +5,7 @@ "description":"Predicts the future behavior of a time series by using its historical behavior." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json index abb50a6781889..dcf9a2cbe3067 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json @@ -5,6 +5,7 @@ "description":"Retrieves anomaly detection job results for one or more buckets." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json index 91d8872c60f77..0b3435ff3f935 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json @@ -5,6 +5,7 @@ "description":"Retrieves information about the scheduled events in calendars." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json index 10da1004cebd9..d7666f69d1da9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json @@ -5,6 +5,7 @@ "description":"Retrieves configuration information for calendars." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json index 571c61d247168..6dfa2e64dd293 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json @@ -5,6 +5,7 @@ "description":"Retrieves anomaly detection job results for one or more categories." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json index 27de00ce47f4c..8986067b010cf 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json @@ -5,6 +5,7 @@ "description":"Retrieves configuration information for data frame analytics jobs." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json index b708cc1aa6f34..baeef37d7144c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json @@ -5,6 +5,7 @@ "description":"Retrieves usage information for data frame analytics jobs." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json index 7e3f731e31d57..72d84a278995e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json @@ -5,6 +5,7 @@ "description":"Retrieves usage information for datafeeds." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json index 56b63b4e9b406..f61a7daeed909 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json @@ -5,6 +5,7 @@ "description":"Retrieves configuration information for datafeeds." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json index 75d94683ff4a9..1f195a4260c44 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json @@ -5,6 +5,7 @@ "description":"Retrieves filters." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json index 819b8e8133eec..bf4e43d4b0302 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json @@ -5,6 +5,7 @@ "description":"Retrieves anomaly detection job results for one or more influencers." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json index bbb69b0dfcc93..456cf923e8563 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json @@ -5,6 +5,7 @@ "description":"Retrieves usage information for anomaly detection jobs." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json index 68af13b97853a..2d716238e8ff6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json @@ -5,6 +5,7 @@ "description":"Retrieves configuration information for anomaly detection jobs." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json index d39b952ed6a43..1a9c91478b325 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json @@ -5,6 +5,7 @@ "description":"Retrieves information about model snapshots." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json index 76506f114839f..646275ec1ff2e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json @@ -5,6 +5,7 @@ "description":"Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json index 5a3e36e85c06c..9af20f7019929 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json @@ -5,6 +5,7 @@ "description":"Retrieves anomaly records for an anomaly detection job." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json index 1d41b08f906cd..8f08856f60cf4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json @@ -5,6 +5,7 @@ "description":"Retrieves configuration information for a trained inference model." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json index af59dcb1bb0d5..3b98884305825 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json @@ -5,6 +5,7 @@ "description":"Retrieves usage information for trained inference models." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json index 02e842bb65de7..25659abf3f662 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json @@ -5,6 +5,7 @@ "description":"Returns defaults and limits used by machine learning." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json index 3fe46ced88372..07b9e666e28e2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json @@ -5,6 +5,7 @@ "description":"Opens one or more anomaly detection jobs." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json index 1b695b8d69f08..a23472b752a38 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json @@ -5,6 +5,7 @@ "description":"Posts scheduled events in a calendar." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json index e52d91b71e1f1..cd2deb1024c1e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json @@ -5,6 +5,7 @@ "description":"Sends data to an anomaly detection job for analysis." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/x-ndjson", "application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json index 3b1360b62375f..5cd94bc2cf528 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json @@ -5,6 +5,7 @@ "description":"Previews a datafeed." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json index e7389c34223ce..597b5d958193d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json @@ -5,6 +5,7 @@ "description":"Instantiates a calendar." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json index 66d0976905290..e7e0476a790da 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json @@ -5,6 +5,7 @@ "description":"Adds an anomaly detection job to a calendar." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json index e63c8603176be..42f89d2cf484c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json @@ -5,6 +5,7 @@ "description":"Instantiates a data frame analytics job." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json index cda8b11f61fba..147290cfaf520 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json @@ -5,6 +5,7 @@ "description":"Instantiates a datafeed." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json index 2f75bf766910f..0e7de69a9fed1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json @@ -5,6 +5,7 @@ "description":"Instantiates a filter." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json index a93d4db5841ab..24fa08e4bff82 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json @@ -5,6 +5,7 @@ "description":"Instantiates an anomaly detection job." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json index 50ff644ccc655..b76e56c0a46a4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json @@ -5,6 +5,7 @@ "description":"Creates an inference trained model." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json index 12e1d5709c23c..02ae0edd610e6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json @@ -5,6 +5,7 @@ "description":"Reverts to a specific snapshot." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json index d6b44e4f56f31..0ef2ad9a4b650 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json @@ -5,6 +5,7 @@ "description":"Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json index 8ea9f553cb2b5..eca008ec01853 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json @@ -5,6 +5,7 @@ "description":"Starts a data frame analytics job." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json index 03b727e8e6934..9e9231805ea91 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json @@ -5,6 +5,7 @@ "description":"Starts one or more datafeeds." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json index 0f42ee4c51609..78b6f92f9055a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json @@ -5,6 +5,7 @@ "description":"Stops one or more data frame analytics jobs." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json index 4b39fd9457141..5dca1e797039c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json @@ -5,6 +5,7 @@ "description":"Stops one or more datafeeds." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json index a2818bb78d9c5..d6fb79f8ff612 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json @@ -5,6 +5,7 @@ "description":"Updates certain properties of a data frame analytics job." }, "stability":"beta", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json index 959bb8792d9ed..8c353a550d9c7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json @@ -5,6 +5,7 @@ "description":"Updates certain properties of a datafeed." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json index aa7b7b7a65b4d..f237c45c4b241 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json @@ -5,6 +5,7 @@ "description":"Updates the description of a filter, adds items, or removes items." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json index 1f69590b4056a..69bdcd0100d49 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json @@ -5,6 +5,7 @@ "description":"Updates certain properties of an anomaly detection job." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json index bdd10f3468590..77414590371f1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json @@ -5,6 +5,7 @@ "description":"Updates certain properties of a snapshot." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json index c53dbfac239e4..22de8d4915ad0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json @@ -5,6 +5,7 @@ "description":"Upgrades a given job snapshot to the current major version." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json index f2550fcecaf1b..5db5f91ddc527 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json @@ -5,6 +5,7 @@ "description":"Validates an anomaly detection job." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json index 6358c7f619328..30a24b1c6074a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json @@ -5,6 +5,7 @@ "description":"Validates an anomaly detection detector." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json index f54593304a8e2..e34bdfe85c75e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json @@ -5,6 +5,7 @@ "description":"Used by the monitoring features to send monitoring data." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json index 6d0f94f9e3db6..d33ead1597a9d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json @@ -5,6 +5,7 @@ "description":"Open a point in time that can be used in subsequent searches" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json index 471f89b79da13..0a60a10ed8315 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json @@ -5,6 +5,7 @@ "description":"Deletes an existing rollup job." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json index afd485bc18980..46ac1c4d304d1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json @@ -5,6 +5,7 @@ "description":"Retrieves the configuration, stats, and status of rollup jobs." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json index 5dc79a84c07ec..7dcc83ee0cd47 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json @@ -5,6 +5,7 @@ "description":"Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json index 46b555826a364..c0e81ff7abcf4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json @@ -5,6 +5,7 @@ "description":"Returns the rollup capabilities of all jobs inside of a rollup index (e.g. the index where rollup data is stored)." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json index 883d4f9ae8388..2ba845cfab506 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json @@ -5,6 +5,7 @@ "description":"Creates a rollup job." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json index 5ba93229eb016..8423ab3e5a997 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json @@ -5,6 +5,7 @@ "description":"Rollup an index" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json index 7a27da088c969..6ad72da006d6c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json @@ -5,6 +5,7 @@ "description":"Enables searching rolled-up data using the standard query DSL." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json index 59b29a65ad09e..85250cfcfcdcd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json @@ -5,6 +5,7 @@ "description":"Starts an existing, stopped rollup job." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json index 4b0535cdde375..f6405cc99eb02 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json @@ -5,6 +5,7 @@ "description":"Stops an existing, started rollup job." }, "stability":"experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json index 4f52a8cac0170..d2d7000195c04 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json @@ -5,6 +5,7 @@ "description" : "Clear the cache of searchable snapshots." }, "stability": "experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json index cac32d12e150b..abd14c45fe35f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json @@ -5,6 +5,7 @@ "description": "Mount a snapshot as a searchable index." }, "stability": "experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json index 42a08b9e8b4eb..7cf44f6945b37 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json @@ -5,6 +5,7 @@ "description": "Retrieve various statistics about searchable snapshots." }, "stability": "experimental", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json index 712d78e92b843..3b65a7eebca10 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json @@ -5,6 +5,7 @@ "description":"Enables authentication as a user and retrieve information about the authenticated user." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json index a51dd6058ad85..c2b1391c1127d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json @@ -5,6 +5,7 @@ "description":"Changes the passwords of users in the native realm and built-in users." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json index a2234e3c1978b..2f3ce2f27e071 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json @@ -5,6 +5,7 @@ "description":"Clear a subset or all entries from the API key cache." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json index 09b633a67f4d4..f90fbf9c1b4dd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json @@ -5,6 +5,7 @@ "description":"Evicts application privileges from the native application privileges cache." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json index e89a929e7445f..3b24c6ef423af 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json @@ -5,6 +5,7 @@ "description":"Evicts users from the user cache. Can completely clear the cache or evict specific users." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json index 63e48635dec5d..64a0efe551212 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json @@ -5,6 +5,7 @@ "description":"Evicts roles from the native role cache." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json index f64b2f80599c2..31ab3993ce9c4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json @@ -5,6 +5,7 @@ "description":"Creates an API key for access without requiring basic authentication." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json index d2813907928cf..533473743f02a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json @@ -5,6 +5,7 @@ "description":"Removes application privileges." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json index 4a2657f839c22..65b2495f01995 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json @@ -5,6 +5,7 @@ "description":"Removes roles in the native realm." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json index ac1ee8c516cf5..ac73fb4d7ccbb 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json @@ -5,6 +5,7 @@ "description":"Removes role mappings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json index 6107cc2f4c3fa..2c7e1091a0e82 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json @@ -5,6 +5,7 @@ "description":"Deletes users from the native realm." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json index 57a2bc9377f36..0dead4d592d96 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json @@ -5,6 +5,7 @@ "description":"Disables users in the native realm." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json index 4045f7cd9da66..6218a04c9ae06 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json @@ -5,6 +5,7 @@ "description":"Enables users in the native realm." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json index 0f4038f4c582a..5eebcfb401990 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json @@ -5,6 +5,7 @@ "description":"Retrieves information for one or more API keys." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json index 49fecf9e5167d..96ab86a613bad 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json @@ -5,6 +5,7 @@ "description":"Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json index 712b11f5cbac5..278e8ad2b2e1c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json @@ -5,6 +5,7 @@ "description":"Retrieves application privileges." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json index b54f94b839061..d5a583f0dda98 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json @@ -5,6 +5,7 @@ "description":"Retrieves roles in the native realm." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json index 1ed20851d75e9..88a2f33d22876 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json @@ -5,6 +5,7 @@ "description":"Retrieves role mappings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json index 721334d2129e3..356391a61b5d4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json @@ -5,6 +5,7 @@ "description":"Creates a bearer token for access without requiring basic authentication." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json index 26240cf1dc503..6f0ce577fc676 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json @@ -5,6 +5,7 @@ "description":"Retrieves information about users in the native realm and built-in users." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json index b208189cae64b..f8aab200cbb51 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json @@ -5,6 +5,7 @@ "description":"Retrieves application privileges." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json index 4707a0817935c..f3cc37bd7450e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json @@ -5,6 +5,7 @@ "description":"Creates an API key on behalf of another user." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json index f0959873bd81c..3e6efeb1c2e51 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json @@ -5,6 +5,7 @@ "description":"Determines whether the specified user has a specified list of privileges." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json index ce8909345b785..bdf33859d03c0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json @@ -5,6 +5,7 @@ "description":"Invalidates one or more API keys." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json index 17a371d584678..cf4b56a4e2f07 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json @@ -5,6 +5,7 @@ "description":"Invalidates one or more access tokens or refresh tokens." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json index 99b1882c674e5..da63002b49485 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json @@ -5,6 +5,7 @@ "description":"Adds or updates application privileges." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json index e7d977db6ed55..687bbe561390d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json @@ -5,6 +5,7 @@ "description":"Adds and updates roles in the native realm." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json index 1ab7b29539420..12c7e8b1b722c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json @@ -5,6 +5,7 @@ "description":"Creates and updates role mappings." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json index 0ffcf7fff1e60..a3a170b2ecf0b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json @@ -5,6 +5,7 @@ "description":"Adds and updates users in the native realm. These users are commonly referred to as native users." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json index 34e6cd33bc6f4..12202a7a2a7b1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json @@ -5,6 +5,7 @@ "description":"Deletes an existing snapshot lifecycle policy." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json index 4daeb68d70c3a..1395a3d3275ae 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json @@ -5,6 +5,7 @@ "description":"Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json index e6b922fff1345..f6ce3e75cc379 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json @@ -5,6 +5,7 @@ "description":"Deletes any snapshots that are expired according to the policy's retention rules." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json index eab49e0968ee2..94d0772a405da 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json @@ -5,6 +5,7 @@ "description":"Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json index 01171fec311c1..aa693ad31711c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json @@ -5,6 +5,7 @@ "description":"Returns global and policy-level statistics about actions taken by snapshot lifecycle management." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json index 24f25e1c3c1be..92ba1b4c321e6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json @@ -5,6 +5,7 @@ "description":"Retrieves the status of snapshot lifecycle management (SLM)." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json index 194503f679dd1..7e7babb987c79 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json @@ -5,6 +5,7 @@ "description":"Creates or updates a snapshot lifecycle policy." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json index 4a58b328d659c..52ee7baa1c4b3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json @@ -5,6 +5,7 @@ "description":"Turns on snapshot lifecycle management (SLM)." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json index 93ef511c9b759..767ce6b693349 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json @@ -5,6 +5,7 @@ "description":"Turns off snapshot lifecycle management (SLM)." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json index 9c330d7e4eb55..26d4f039bc9f1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json @@ -5,6 +5,7 @@ "description":"Clears the SQL cursor" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json index 7686435da5d77..2cd1f9aca0367 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json @@ -5,6 +5,7 @@ "description":"Executes a SQL request" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json index c5696da0a8bee..09623c9bbae92 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json @@ -5,6 +5,7 @@ "description":"Translates SQL into Elasticsearch queries" }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json index fb70120c1f307..233bc0882a87f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json @@ -5,6 +5,7 @@ "description":"Retrieves information about the X.509 certificates used to encrypt communications in the cluster." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json index 39f3df6f208f5..0b0e2377bdf30 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json @@ -5,6 +5,7 @@ "description":"Deletes an existing transform." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json index 43522d961ee2e..334537d49a716 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json @@ -5,6 +5,7 @@ "description":"Retrieves configuration information for transforms." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json index e37d4d66f57c9..f425c41f0997d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json @@ -5,6 +5,7 @@ "description":"Retrieves usage information for transforms." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json index 3ee283acd46e9..89636eb90703a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json @@ -5,6 +5,7 @@ "description":"Previews a transform." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json index 92eb476044fcb..1e81629bd72a0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json @@ -5,6 +5,7 @@ "description":"Instantiates a transform." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json index ed2c5b5fa3ab4..7c002957ea67c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json @@ -5,6 +5,7 @@ "description":"Starts one or more transforms." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json index ecad2d4fdcc42..1beb8066c1803 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json @@ -5,6 +5,7 @@ "description":"Stops one or more transforms." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json index e2ddc80819b17..c103570a94437 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json @@ -5,6 +5,7 @@ "description":"Updates certain properties of a transform." }, "stability":"stable", + "visibility":"public", "headers":{ "accept":[ "application/json"], "content_type":["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json index 2b4c99910b076..0c04888991fc5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json @@ -5,6 +5,7 @@ "description":"Acknowledges a watch, manually throttling the execution of the watch's actions." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json index 3c37ae0c001bc..698b08f3fdc8a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json @@ -5,6 +5,7 @@ "description":"Activates a currently inactive watch." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json index ab0e04abc2520..e9b7407eb5c9d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json @@ -5,6 +5,7 @@ "description":"Deactivates a currently active watch." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json index 86d7bd528e2f6..9417a8a57b56b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json @@ -5,6 +5,7 @@ "description":"Removes a watch from Watcher." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json index b3c56b76c2144..a011669ce373c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json @@ -5,6 +5,7 @@ "description":"Forces the execution of a stored watch." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json index 774d33edf5bd6..26899aefc53bb 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json @@ -5,6 +5,7 @@ "description":"Retrieves a watch by its ID." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json index c800d07cae911..462580198932c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json @@ -5,6 +5,7 @@ "description":"Creates a new watch, or updates an existing one." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json index efe407cbb684f..b730f66af3617 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json @@ -5,6 +5,7 @@ "description":"Retrieves stored watches." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json index f5ea61722d23e..a7884a41198ce 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json @@ -5,6 +5,7 @@ "description":"Starts Watcher if it is not already running." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json index 6c49d780dceff..35e90cbd1cddb 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json @@ -5,6 +5,7 @@ "description":"Retrieves the current Watcher metrics." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json index 6efdaef542067..c3e85287767fd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json @@ -5,6 +5,7 @@ "description":"Stops Watcher if it is running." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json index a8bec88e74dc4..68b2a5d2c2c8b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json @@ -5,6 +5,7 @@ "description":"Retrieves information about the installed X-Pack features." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json index c658cc912f09c..e01f40348eadc 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json @@ -5,6 +5,7 @@ "description":"Retrieves usage information about the installed X-Pack features." }, "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] },