diff --git a/src/ApiGenerator/Domain/Code/CsharpNames.cs b/src/ApiGenerator/Domain/Code/CsharpNames.cs index 002be3a2c89..31b1902db66 100644 --- a/src/ApiGenerator/Domain/Code/CsharpNames.cs +++ b/src/ApiGenerator/Domain/Code/CsharpNames.cs @@ -37,7 +37,7 @@ string Replace(string original, string ns, string find, string replace, string[] var namespaceRenames = new Dictionary { - { "Watcher", (find: "Watch", replace: "", exceptions: new string[0]) }, + { "Watcher", (find: "Watch", replace: "", exceptions: new string[]{ "QueryWatches" }) }, { "Indices", (find: "Index", replace: "", exceptions: new [] { "SimulateIndexTemplate" }) }, { "CrossClusterReplication", (find: "Ccr", replace: "", exceptions: new string[0]) }, { "IndexLifecycleManagement", (find: "Ilm", replace: "", exceptions: new string[0]) }, diff --git a/src/ApiGenerator/RestSpecification/Core/bulk.json b/src/ApiGenerator/RestSpecification/Core/bulk.json index f7c0d69805c..9f2f1e24758 100644 --- a/src/ApiGenerator/RestSpecification/Core/bulk.json +++ b/src/ApiGenerator/RestSpecification/Core/bulk.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.aliases.json b/src/ApiGenerator/RestSpecification/Core/cat.aliases.json index 1ba12b00c81..db49daeea37 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.aliases.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.aliases.json @@ -5,6 +5,10 @@ "description":"Shows information about currently configured aliases to indices including filter and routing infos." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.allocation.json b/src/ApiGenerator/RestSpecification/Core/cat.allocation.json index 7b3dc70b03c..9d19d8bb956 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.allocation.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.allocation.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.count.json b/src/ApiGenerator/RestSpecification/Core/cat.count.json index 8cfaddf8db8..64226f87bfd 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.count.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.count.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.fielddata.json b/src/ApiGenerator/RestSpecification/Core/cat.fielddata.json index 9fbde4736b5..497287a34ad 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.fielddata.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.fielddata.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.health.json b/src/ApiGenerator/RestSpecification/Core/cat.health.json index bd7454b8046..6b49c8e4428 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.health.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.health.json @@ -5,6 +5,10 @@ "description":"Returns a concise representation of the cluster health." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.help.json b/src/ApiGenerator/RestSpecification/Core/cat.help.json index 54ab6d6e516..7c929dca137 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.help.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.help.json @@ -5,6 +5,10 @@ "description":"Returns help for the Cat APIs." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain" ] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.indices.json b/src/ApiGenerator/RestSpecification/Core/cat.indices.json index ed821ca52ed..811359f6c2a 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.indices.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.indices.json @@ -5,6 +5,10 @@ "description":"Returns information about indices: number of primaries and replicas, document counts, disk size, ..." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.master.json b/src/ApiGenerator/RestSpecification/Core/cat.master.json index 63fe159ee56..9041c48b17e 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.master.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.master.json @@ -5,6 +5,10 @@ "description":"Returns information about the master node." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json b/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json index e688e23cab0..b92f0233233 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json @@ -5,6 +5,10 @@ "description":"Returns information about custom node attributes." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.nodes.json b/src/ApiGenerator/RestSpecification/Core/cat.nodes.json index ba3faa92c5e..fe3c0c521ea 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.nodes.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.nodes.json @@ -5,6 +5,10 @@ "description":"Returns basic statistics about performance of cluster nodes." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json b/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json index 36fa33be495..40601a11b68 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.pending_tasks.json @@ -5,6 +5,10 @@ "description":"Returns a concise representation of the cluster pending tasks." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.plugins.json b/src/ApiGenerator/RestSpecification/Core/cat.plugins.json index d5346c6d9e7..6dc5ce05ba2 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.plugins.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.plugins.json @@ -5,6 +5,10 @@ "description":"Returns information about installed plugins across nodes node." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.recovery.json b/src/ApiGenerator/RestSpecification/Core/cat.recovery.json index 7baf0b8ded6..879314629f9 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.recovery.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.recovery.json @@ -5,6 +5,10 @@ "description":"Returns information about index shard recoveries, both on-going completed." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.repositories.json b/src/ApiGenerator/RestSpecification/Core/cat.repositories.json index 84d9965907f..3dad7a0039c 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.repositories.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.repositories.json @@ -5,6 +5,10 @@ "description":"Returns information about snapshot repositories registered in the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.segments.json b/src/ApiGenerator/RestSpecification/Core/cat.segments.json index 472ef7fd22e..7fe66ea3ba8 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.segments.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.segments.json @@ -5,6 +5,10 @@ "description":"Provides low-level information about the segments in the shards of an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.shards.json b/src/ApiGenerator/RestSpecification/Core/cat.shards.json index 576cba3fdcd..b7408f68af2 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.shards.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.shards.json @@ -5,6 +5,10 @@ "description":"Provides a detailed view of shard allocation on nodes." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json b/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json index 757c2cfbe7d..3b72e8a1ebc 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.snapshots.json @@ -5,6 +5,10 @@ "description":"Returns all snapshots in a specific repository." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.tasks.json b/src/ApiGenerator/RestSpecification/Core/cat.tasks.json index ae25ab10c01..5a966554d9b 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.tasks.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.tasks.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { @@ -20,7 +24,7 @@ "type":"string", "description":"a short version of the Accept header, e.g. json, yaml" }, - "node_id":{ + "nodes":{ "type":"list", "description":"A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes" }, @@ -32,9 +36,9 @@ "type":"boolean", "description":"Return detailed task information (default: false)" }, - "parent_task":{ - "type":"number", - "description":"Return tasks with specified parent task id. Set to -1 to return all." + "parent_task_id":{ + "type":"string", + "description":"Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all." }, "h":{ "type":"list", diff --git a/src/ApiGenerator/RestSpecification/Core/cat.templates.json b/src/ApiGenerator/RestSpecification/Core/cat.templates.json index 53fc872b5da..e7ac67c8612 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.templates.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.templates.json @@ -5,6 +5,10 @@ "description":"Returns information about existing templates." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json b/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json index 710c297dbbe..b418b5ae373 100644 --- a/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json +++ b/src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/clear_scroll.json b/src/ApiGenerator/RestSpecification/Core/clear_scroll.json index b0e50045cd7..2d76e1e10d2 100644 --- a/src/ApiGenerator/RestSpecification/Core/clear_scroll.json +++ b/src/ApiGenerator/RestSpecification/Core/clear_scroll.json @@ -5,6 +5,11 @@ "description":"Explicitly clears the search context for a scroll." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json","text/plain"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.allocation_explain.json b/src/ApiGenerator/RestSpecification/Core/cluster.allocation_explain.json index e46218a781e..36f341d7615 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.allocation_explain.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.allocation_explain.json @@ -5,6 +5,11 @@ "description":"Provides explanations for shard allocations in the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json index 25ed4d18a97..041c1b35a2e 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.json @@ -5,6 +5,10 @@ "description":"Deletes a component template" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.delete_voting_config_exclusions.json b/src/ApiGenerator/RestSpecification/Core/cluster.delete_voting_config_exclusions.json index d3db7dedd6c..ff2abbe82a2 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.delete_voting_config_exclusions.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.delete_voting_config_exclusions.json @@ -5,6 +5,10 @@ "description":"Clears cluster voting config exclusions." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json index e7dc28fc572..818d034ca81 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.exists_component_template.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a particular component template exist" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json index 402bbdef44e..67b3c20dc96 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.json @@ -5,6 +5,10 @@ "description":"Returns one or more component templates" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json b/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json index 6f91fbbedf5..9708a8606fd 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.get_settings.json @@ -5,6 +5,10 @@ "description":"Returns cluster settings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.health.json b/src/ApiGenerator/RestSpecification/Core/cluster.health.json index 894b141f2f3..91712bbbded 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.health.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.health.json @@ -5,6 +5,10 @@ "description":"Returns basic information about the health of the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json b/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json index d940adf9aef..0ce718b3fff 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.pending_tasks.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.post_voting_config_exclusions.json b/src/ApiGenerator/RestSpecification/Core/cluster.post_voting_config_exclusions.json index 4dbaf80c33b..dcdf0f1f2c5 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.post_voting_config_exclusions.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.post_voting_config_exclusions.json @@ -5,6 +5,10 @@ "description":"Updates the cluster voting config exclusions by node ids or node names." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json b/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json index 780939cbde5..4b7b032b43e 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.json @@ -5,6 +5,11 @@ "description":"Creates or updates a component template" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json b/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json index f6b9a086338..77aac96571a 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.put_settings.json @@ -5,6 +5,11 @@ "description":"Updates the cluster settings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.remote_info.json b/src/ApiGenerator/RestSpecification/Core/cluster.remote_info.json index 4eac0b55ce6..689d10606b0 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.remote_info.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.remote_info.json @@ -5,6 +5,10 @@ "description":"Returns the information about configured remote clusters." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json b/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json index b0e8054fc9e..2f5437037e1 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.reroute.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.state.json b/src/ApiGenerator/RestSpecification/Core/cluster.state.json index 017705082d1..faf1aafd1f8 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.state.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.state.json @@ -5,6 +5,10 @@ "description":"Returns a comprehensive information about the state of the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/cluster.stats.json b/src/ApiGenerator/RestSpecification/Core/cluster.stats.json index f36db0979f4..4a8ca46ceba 100644 --- a/src/ApiGenerator/RestSpecification/Core/cluster.stats.json +++ b/src/ApiGenerator/RestSpecification/Core/cluster.stats.json @@ -5,6 +5,10 @@ "description":"Returns high-level overview of cluster statistics." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/count.json b/src/ApiGenerator/RestSpecification/Core/count.json index 9f6461b16d3..04688df678a 100644 --- a/src/ApiGenerator/RestSpecification/Core/count.json +++ b/src/ApiGenerator/RestSpecification/Core/count.json @@ -5,6 +5,11 @@ "description":"Returns number of documents matching a query." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/create.json b/src/ApiGenerator/RestSpecification/Core/create.json index 171f3da44d3..9cdb226f98c 100644 --- a/src/ApiGenerator/RestSpecification/Core/create.json +++ b/src/ApiGenerator/RestSpecification/Core/create.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json b/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json index 1e3d7478459..8106e80deea 100644 --- a/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json +++ b/src/ApiGenerator/RestSpecification/Core/dangling_indices.delete_dangling_index.json @@ -5,6 +5,10 @@ "description": "Deletes the specified dangling index" }, "stability": "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json b/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json index e9dce01a767..f81afc3558c 100644 --- a/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json +++ b/src/ApiGenerator/RestSpecification/Core/dangling_indices.import_dangling_index.json @@ -5,6 +5,10 @@ "description": "Imports the specified dangling index" }, "stability": "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/Core/dangling_indices.list_dangling_indices.json b/src/ApiGenerator/RestSpecification/Core/dangling_indices.list_dangling_indices.json index dfc21f56ddf..4310faa9618 100644 --- a/src/ApiGenerator/RestSpecification/Core/dangling_indices.list_dangling_indices.json +++ b/src/ApiGenerator/RestSpecification/Core/dangling_indices.list_dangling_indices.json @@ -5,6 +5,10 @@ "description": "Returns all dangling indices." }, "stability": "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/Core/delete.json b/src/ApiGenerator/RestSpecification/Core/delete.json index 0d82bca9d41..b262bb8443a 100644 --- a/src/ApiGenerator/RestSpecification/Core/delete.json +++ b/src/ApiGenerator/RestSpecification/Core/delete.json @@ -5,6 +5,10 @@ "description":"Removes a document from the index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/delete_by_query.json b/src/ApiGenerator/RestSpecification/Core/delete_by_query.json index 9f651b17ea1..17decab1d79 100644 --- a/src/ApiGenerator/RestSpecification/Core/delete_by_query.json +++ b/src/ApiGenerator/RestSpecification/Core/delete_by_query.json @@ -5,6 +5,11 @@ "description":"Deletes documents matching the provided query." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/delete_by_query_rethrottle.json b/src/ApiGenerator/RestSpecification/Core/delete_by_query_rethrottle.json index 112bfc8a7d2..e8ff1a61f83 100644 --- a/src/ApiGenerator/RestSpecification/Core/delete_by_query_rethrottle.json +++ b/src/ApiGenerator/RestSpecification/Core/delete_by_query_rethrottle.json @@ -5,6 +5,10 @@ "description":"Changes the number of requests per second for a particular Delete By Query operation." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/delete_script.json b/src/ApiGenerator/RestSpecification/Core/delete_script.json index b38b97ae57c..cf6573372dd 100644 --- a/src/ApiGenerator/RestSpecification/Core/delete_script.json +++ b/src/ApiGenerator/RestSpecification/Core/delete_script.json @@ -5,6 +5,10 @@ "description":"Deletes a script." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/exists.json b/src/ApiGenerator/RestSpecification/Core/exists.json index 09042376a25..3baf116cf38 100644 --- a/src/ApiGenerator/RestSpecification/Core/exists.json +++ b/src/ApiGenerator/RestSpecification/Core/exists.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a document exists in an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/exists_source.json b/src/ApiGenerator/RestSpecification/Core/exists_source.json index 143ee406025..9edfeb9f297 100644 --- a/src/ApiGenerator/RestSpecification/Core/exists_source.json +++ b/src/ApiGenerator/RestSpecification/Core/exists_source.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a document source exists in an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/explain.json b/src/ApiGenerator/RestSpecification/Core/explain.json index c7c393a6a1c..fb0c851f35e 100644 --- a/src/ApiGenerator/RestSpecification/Core/explain.json +++ b/src/ApiGenerator/RestSpecification/Core/explain.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/field_caps.json b/src/ApiGenerator/RestSpecification/Core/field_caps.json index 20a87c7da88..d2632a12676 100644 --- a/src/ApiGenerator/RestSpecification/Core/field_caps.json +++ b/src/ApiGenerator/RestSpecification/Core/field_caps.json @@ -5,6 +5,10 @@ "description":"Returns the information about the capabilities of fields among multiple indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/get.json b/src/ApiGenerator/RestSpecification/Core/get.json index 0c8d62d6d1d..7cb8141c8e7 100644 --- a/src/ApiGenerator/RestSpecification/Core/get.json +++ b/src/ApiGenerator/RestSpecification/Core/get.json @@ -5,6 +5,10 @@ "description":"Returns a document." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/get_script.json b/src/ApiGenerator/RestSpecification/Core/get_script.json index 14307bea2ef..ae11aa07363 100644 --- a/src/ApiGenerator/RestSpecification/Core/get_script.json +++ b/src/ApiGenerator/RestSpecification/Core/get_script.json @@ -5,6 +5,10 @@ "description":"Returns a script." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/get_script_context.json b/src/ApiGenerator/RestSpecification/Core/get_script_context.json index aa770ee9d9f..5f62e05756d 100644 --- a/src/ApiGenerator/RestSpecification/Core/get_script_context.json +++ b/src/ApiGenerator/RestSpecification/Core/get_script_context.json @@ -5,6 +5,10 @@ "description":"Returns all script contexts." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/get_script_languages.json b/src/ApiGenerator/RestSpecification/Core/get_script_languages.json index a5e06cb8890..f8df1e76f8d 100644 --- a/src/ApiGenerator/RestSpecification/Core/get_script_languages.json +++ b/src/ApiGenerator/RestSpecification/Core/get_script_languages.json @@ -5,6 +5,10 @@ "description":"Returns available script types, languages and contexts" }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/get_source.json b/src/ApiGenerator/RestSpecification/Core/get_source.json index e5336059d39..0c24d6929be 100644 --- a/src/ApiGenerator/RestSpecification/Core/get_source.json +++ b/src/ApiGenerator/RestSpecification/Core/get_source.json @@ -5,6 +5,10 @@ "description":"Returns the source of a document." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/index.json b/src/ApiGenerator/RestSpecification/Core/index.json index 37f3cc9f9f8..ac1e1fef618 100644 --- a/src/ApiGenerator/RestSpecification/Core/index.json +++ b/src/ApiGenerator/RestSpecification/Core/index.json @@ -5,6 +5,11 @@ "description":"Creates or updates a document in an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.add_block.json b/src/ApiGenerator/RestSpecification/Core/indices.add_block.json index 7389fb13228..24738d1f5bb 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.add_block.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.add_block.json @@ -5,6 +5,10 @@ "description":"Adds a block to an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.analyze.json b/src/ApiGenerator/RestSpecification/Core/indices.analyze.json index aa8e84c1985..a6d8cf6cfc9 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.analyze.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.analyze.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.clear_cache.json b/src/ApiGenerator/RestSpecification/Core/indices.clear_cache.json index 64c10a520c7..064a7573b32 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.clear_cache.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.clear_cache.json @@ -5,6 +5,10 @@ "description":"Clears all or specific caches for one or more indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.clone.json b/src/ApiGenerator/RestSpecification/Core/indices.clone.json index d3a249583bd..43a6383a1e7 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.clone.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.clone.json @@ -5,6 +5,11 @@ "description": "Clones an index" }, "stability": "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.close.json b/src/ApiGenerator/RestSpecification/Core/indices.close.json index f26c8e77a06..0738216d1ee 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.close.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.close.json @@ -5,6 +5,10 @@ "description":"Closes an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.create.json b/src/ApiGenerator/RestSpecification/Core/indices.create.json index 2b9e8617a66..214e688b686 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.create.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.create.json @@ -5,6 +5,11 @@ "description":"Creates an index with optional settings and mappings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete.json b/src/ApiGenerator/RestSpecification/Core/indices.delete.json index 53fdf44bb36..252ba75473f 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete.json @@ -5,6 +5,10 @@ "description":"Deletes an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json b/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json index 13abf70ca73..7ec072a4582 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete_alias.json @@ -5,6 +5,10 @@ "description":"Deletes an alias." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json index 60225667d37..a07d654078c 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete_index_template.json @@ -5,6 +5,10 @@ "description":"Deletes an index template." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json b/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json index ca484a73e99..7d79c2aba13 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.delete_template.json @@ -5,6 +5,10 @@ "description":"Deletes an index template." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.exists.json b/src/ApiGenerator/RestSpecification/Core/indices.exists.json index 7539f44a81e..b8e18348f48 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.exists.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.exists.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a particular index exists." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.exists_alias.json b/src/ApiGenerator/RestSpecification/Core/indices.exists_alias.json index 66e5ce92cbb..b70854fdc3e 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.exists_alias.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.exists_alias.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a particular alias exists." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json index 99471c50dee..dc0f9ed59c6 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.exists_index_template.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a particular index template exists." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json b/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json index 9796bdd9d21..9d2b6b15cc0 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.exists_template.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a particular index template exists." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.exists_type.json b/src/ApiGenerator/RestSpecification/Core/indices.exists_type.json index c854d0e8fd8..1a3fb54c5ea 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.exists_type.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.exists_type.json @@ -5,6 +5,10 @@ "description":"Returns information about whether a particular document type exists. (DEPRECATED)" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.flush.json b/src/ApiGenerator/RestSpecification/Core/indices.flush.json index 35138b92046..f48f9ad1b18 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.flush.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.flush.json @@ -5,6 +5,10 @@ "description":"Performs the flush operation on one or more indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.flush_synced.json b/src/ApiGenerator/RestSpecification/Core/indices.flush_synced.json index 134ba93395b..8f9df79105b 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.flush_synced.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.flush_synced.json @@ -5,6 +5,10 @@ "description":"Performs a synced flush operation on one or more indices. Synced flush is deprecated and will be removed in 8.0. Use flush instead" }, "stability":"stable", + "visibility" : "public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.forcemerge.json b/src/ApiGenerator/RestSpecification/Core/indices.forcemerge.json index 6036b75bb83..9afc86ccd3d 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.forcemerge.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.forcemerge.json @@ -5,6 +5,10 @@ "description":"Performs the force merge operation on one or more indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get.json b/src/ApiGenerator/RestSpecification/Core/indices.get.json index f78b410f5b4..58d0761676a 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get.json @@ -5,6 +5,10 @@ "description":"Returns information about one or more indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_alias.json b/src/ApiGenerator/RestSpecification/Core/indices.get_alias.json index 5bfdd985a0a..0a4e4bb9ed9 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_alias.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_alias.json @@ -5,6 +5,10 @@ "description":"Returns an alias." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_field_mapping.json b/src/ApiGenerator/RestSpecification/Core/indices.get_field_mapping.json index 15cc48a582c..d469a75501c 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_field_mapping.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_field_mapping.json @@ -5,6 +5,10 @@ "description":"Returns mapping for one or more fields." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json index 870eeaea085..7d47e088f47 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_index_template.json @@ -5,6 +5,10 @@ "description":"Returns an index template." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json b/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json index 1d9e795c6ed..5b1431d532c 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_mapping.json @@ -5,6 +5,10 @@ "description":"Returns mappings for one or more indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json b/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json index 68e325446d3..027b337fdea 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_settings.json @@ -5,6 +5,10 @@ "description":"Returns settings for one or more indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_template.json b/src/ApiGenerator/RestSpecification/Core/indices.get_template.json index 9e07ae663ff..3a4120be95c 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_template.json @@ -5,6 +5,10 @@ "description":"Returns an index template." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.get_upgrade.json b/src/ApiGenerator/RestSpecification/Core/indices.get_upgrade.json index 68cfdf25aee..47a92b8b9e9 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.get_upgrade.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.get_upgrade.json @@ -5,6 +5,10 @@ "description":"DEPRECATED Returns a progress status of current upgrade." }, "stability":"stable", + "visibility": "public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.open.json b/src/ApiGenerator/RestSpecification/Core/indices.open.json index 1dab468ce4f..e6c1646d2b0 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.open.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.open.json @@ -5,6 +5,10 @@ "description":"Opens an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json b/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json index 603f24b665e..953f119a30a 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_alias.json @@ -5,6 +5,11 @@ "description":"Creates or updates an alias." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json index b06df4733a5..542f316ad7a 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_index_template.json @@ -5,6 +5,11 @@ "description":"Creates or updates an index template." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json b/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json index f23380ac2f1..557bbae5529 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_mapping.json @@ -5,6 +5,11 @@ "description":"Updates the index mappings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json b/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json index 66fe23bab8b..c1f3079995d 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_settings.json @@ -5,6 +5,11 @@ "description":"Updates the index settings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.put_template.json b/src/ApiGenerator/RestSpecification/Core/indices.put_template.json index 701a722d89e..4222de2a570 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.put_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.put_template.json @@ -5,6 +5,11 @@ "description":"Creates or updates an index template." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.recovery.json b/src/ApiGenerator/RestSpecification/Core/indices.recovery.json index 8b134bbe241..b1174b89df0 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.recovery.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.recovery.json @@ -5,6 +5,10 @@ "description":"Returns information about ongoing index shard recoveries." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.refresh.json b/src/ApiGenerator/RestSpecification/Core/indices.refresh.json index 950e0a62489..0932d77e934 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.refresh.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.refresh.json @@ -5,6 +5,10 @@ "description":"Performs the refresh operation in one or more indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.resolve_index.json b/src/ApiGenerator/RestSpecification/Core/indices.resolve_index.json index 41d609818db..e51c2d5227b 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.resolve_index.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.resolve_index.json @@ -5,6 +5,10 @@ "description":"Returns information about any matching indices, aliases, and data streams" }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.rollover.json b/src/ApiGenerator/RestSpecification/Core/indices.rollover.json index 4ed1f9b4909..359f3983996 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.rollover.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.rollover.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.segments.json b/src/ApiGenerator/RestSpecification/Core/indices.segments.json index 83430a9a856..18eecb68564 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.segments.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.segments.json @@ -5,6 +5,10 @@ "description":"Provides low-level information about segments in a Lucene index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.shard_stores.json b/src/ApiGenerator/RestSpecification/Core/indices.shard_stores.json index 7e48e999161..739107dc686 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.shard_stores.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.shard_stores.json @@ -5,6 +5,10 @@ "description":"Provides store information for shard copies of indices." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.shrink.json b/src/ApiGenerator/RestSpecification/Core/indices.shrink.json index fd6d705d6a5..a8906fdc895 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.shrink.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.shrink.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json b/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json index 889310e9771..a7d2e21df5a 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.simulate_index_template.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json b/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json index 2511ca637e6..23a41a137df 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.simulate_template.json @@ -5,6 +5,11 @@ "description": "Simulate resolving the given template name or body" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.split.json b/src/ApiGenerator/RestSpecification/Core/indices.split.json index 02df3cdedf0..22c72b66dc3 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.split.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.split.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.stats.json b/src/ApiGenerator/RestSpecification/Core/indices.stats.json index 0a8960f2f9e..4141425de21 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.stats.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.stats.json @@ -5,6 +5,10 @@ "description":"Provides statistics on operations happening in an index." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json b/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json index d4a222f2061..76b33ad11d9 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.update_aliases.json @@ -5,6 +5,11 @@ "description":"Updates index aliases." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.upgrade.json b/src/ApiGenerator/RestSpecification/Core/indices.upgrade.json index 406fbacda30..caa11804fc7 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.upgrade.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.upgrade.json @@ -5,6 +5,10 @@ "description":"DEPRECATED Upgrades to the current version of Lucene." }, "stability":"stable", + "visibility" : "public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/indices.validate_query.json b/src/ApiGenerator/RestSpecification/Core/indices.validate_query.json index 3becec003a9..9dbe40258f1 100644 --- a/src/ApiGenerator/RestSpecification/Core/indices.validate_query.json +++ b/src/ApiGenerator/RestSpecification/Core/indices.validate_query.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/info.json b/src/ApiGenerator/RestSpecification/Core/info.json index 1c48f05d02e..286a06f7367 100644 --- a/src/ApiGenerator/RestSpecification/Core/info.json +++ b/src/ApiGenerator/RestSpecification/Core/info.json @@ -5,6 +5,10 @@ "description":"Returns basic information about the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json b/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json index 29b4219038c..a1f6c0f7273 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.delete_pipeline.json @@ -5,6 +5,10 @@ "description":"Deletes a pipeline." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json b/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json index 65fc4f91b2b..c438c3bd701 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.get_pipeline.json @@ -5,6 +5,10 @@ "description":"Returns a pipeline." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.processor_grok.json b/src/ApiGenerator/RestSpecification/Core/ingest.processor_grok.json index ac8ad6e6d06..e150d953437 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.processor_grok.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.processor_grok.json @@ -5,6 +5,10 @@ "description":"Returns a list of the built-in patterns." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json b/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json index 4d210586679..981d4f750a2 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.put_pipeline.json @@ -5,6 +5,11 @@ "description":"Creates or updates a pipeline." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/ingest.simulate.json b/src/ApiGenerator/RestSpecification/Core/ingest.simulate.json index 8122f7a0ffa..04b704646d2 100644 --- a/src/ApiGenerator/RestSpecification/Core/ingest.simulate.json +++ b/src/ApiGenerator/RestSpecification/Core/ingest.simulate.json @@ -5,6 +5,11 @@ "description":"Allows to simulate a pipeline with example documents." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/mget.json b/src/ApiGenerator/RestSpecification/Core/mget.json index f1d35aee7d6..0470c969d16 100644 --- a/src/ApiGenerator/RestSpecification/Core/mget.json +++ b/src/ApiGenerator/RestSpecification/Core/mget.json @@ -5,6 +5,11 @@ "description":"Allows to get multiple documents in one request." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/msearch.json b/src/ApiGenerator/RestSpecification/Core/msearch.json index e3e6ef57e42..62dce90ab54 100644 --- a/src/ApiGenerator/RestSpecification/Core/msearch.json +++ b/src/ApiGenerator/RestSpecification/Core/msearch.json @@ -5,6 +5,11 @@ "description":"Allows to execute several search operations in one request." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/x-ndjson"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/msearch_template.json b/src/ApiGenerator/RestSpecification/Core/msearch_template.json index 8eb300c9759..477915a8011 100644 --- a/src/ApiGenerator/RestSpecification/Core/msearch_template.json +++ b/src/ApiGenerator/RestSpecification/Core/msearch_template.json @@ -5,6 +5,11 @@ "description":"Allows to execute several search template operations in one request." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/x-ndjson"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/mtermvectors.json b/src/ApiGenerator/RestSpecification/Core/mtermvectors.json index 93dee177e80..5001248856d 100644 --- a/src/ApiGenerator/RestSpecification/Core/mtermvectors.json +++ b/src/ApiGenerator/RestSpecification/Core/mtermvectors.json @@ -5,6 +5,11 @@ "description":"Returns multiple termvectors in one request." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/nodes.hot_threads.json b/src/ApiGenerator/RestSpecification/Core/nodes.hot_threads.json index 0830344dc4a..929cc0db9ec 100644 --- a/src/ApiGenerator/RestSpecification/Core/nodes.hot_threads.json +++ b/src/ApiGenerator/RestSpecification/Core/nodes.hot_threads.json @@ -5,6 +5,10 @@ "description":"Returns information about hot threads on each node in the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/nodes.info.json b/src/ApiGenerator/RestSpecification/Core/nodes.info.json index 37279edd310..78da8caa0a3 100644 --- a/src/ApiGenerator/RestSpecification/Core/nodes.info.json +++ b/src/ApiGenerator/RestSpecification/Core/nodes.info.json @@ -5,6 +5,10 @@ "description":"Returns information about nodes in the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json b/src/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json index fd5420d0288..777a62a7dc3 100644 --- a/src/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json +++ b/src/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json @@ -5,6 +5,11 @@ "description":"Reloads secure settings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": [ "application/json" ] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/nodes.stats.json b/src/ApiGenerator/RestSpecification/Core/nodes.stats.json index cc1a9e81850..dc8c96ff13a 100644 --- a/src/ApiGenerator/RestSpecification/Core/nodes.stats.json +++ b/src/ApiGenerator/RestSpecification/Core/nodes.stats.json @@ -5,6 +5,10 @@ "description":"Returns statistical information about nodes in the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/nodes.usage.json b/src/ApiGenerator/RestSpecification/Core/nodes.usage.json index 5acbf7a5111..09aeaba8fec 100644 --- a/src/ApiGenerator/RestSpecification/Core/nodes.usage.json +++ b/src/ApiGenerator/RestSpecification/Core/nodes.usage.json @@ -5,6 +5,10 @@ "description":"Returns low-level information about REST actions usage on nodes." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/ping.json b/src/ApiGenerator/RestSpecification/Core/ping.json index 0e787e039d0..6615f789623 100644 --- a/src/ApiGenerator/RestSpecification/Core/ping.json +++ b/src/ApiGenerator/RestSpecification/Core/ping.json @@ -5,6 +5,10 @@ "description":"Returns whether the cluster is running." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/put_script.json b/src/ApiGenerator/RestSpecification/Core/put_script.json index 750f7fdf4eb..29e951848dd 100644 --- a/src/ApiGenerator/RestSpecification/Core/put_script.json +++ b/src/ApiGenerator/RestSpecification/Core/put_script.json @@ -5,6 +5,11 @@ "description":"Creates or updates a script." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/rank_eval.json b/src/ApiGenerator/RestSpecification/Core/rank_eval.json index eadf2401923..ec123f3f881 100644 --- a/src/ApiGenerator/RestSpecification/Core/rank_eval.json +++ b/src/ApiGenerator/RestSpecification/Core/rank_eval.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/reindex.json b/src/ApiGenerator/RestSpecification/Core/reindex.json index 2fbaf86cab6..f8038853e47 100644 --- a/src/ApiGenerator/RestSpecification/Core/reindex.json +++ b/src/ApiGenerator/RestSpecification/Core/reindex.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/reindex_rethrottle.json b/src/ApiGenerator/RestSpecification/Core/reindex_rethrottle.json index d91365b3c49..f53157c36cc 100644 --- a/src/ApiGenerator/RestSpecification/Core/reindex_rethrottle.json +++ b/src/ApiGenerator/RestSpecification/Core/reindex_rethrottle.json @@ -5,6 +5,10 @@ "description":"Changes the number of requests per second for a particular Reindex operation." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/render_search_template.json b/src/ApiGenerator/RestSpecification/Core/render_search_template.json index c2c474edd98..b962c069508 100644 --- a/src/ApiGenerator/RestSpecification/Core/render_search_template.json +++ b/src/ApiGenerator/RestSpecification/Core/render_search_template.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/scripts_painless_execute.json b/src/ApiGenerator/RestSpecification/Core/scripts_painless_execute.json index 9f761fb452b..b26d31fb6c0 100644 --- a/src/ApiGenerator/RestSpecification/Core/scripts_painless_execute.json +++ b/src/ApiGenerator/RestSpecification/Core/scripts_painless_execute.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/scroll.json b/src/ApiGenerator/RestSpecification/Core/scroll.json index ea0cbe26753..553ee835871 100644 --- a/src/ApiGenerator/RestSpecification/Core/scroll.json +++ b/src/ApiGenerator/RestSpecification/Core/scroll.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/search.json b/src/ApiGenerator/RestSpecification/Core/search.json index 7770acc52f9..4db4f0e3b7c 100644 --- a/src/ApiGenerator/RestSpecification/Core/search.json +++ b/src/ApiGenerator/RestSpecification/Core/search.json @@ -5,6 +5,11 @@ "description":"Returns results matching a query." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/search_shards.json b/src/ApiGenerator/RestSpecification/Core/search_shards.json index 74b7055b4c4..f9afdbfb85f 100644 --- a/src/ApiGenerator/RestSpecification/Core/search_shards.json +++ b/src/ApiGenerator/RestSpecification/Core/search_shards.json @@ -5,6 +5,10 @@ "description":"Returns information about the indices and shards that a search request would be executed against." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/search_template.json b/src/ApiGenerator/RestSpecification/Core/search_template.json index 00bd09729c9..fdf6a513076 100644 --- a/src/ApiGenerator/RestSpecification/Core/search_template.json +++ b/src/ApiGenerator/RestSpecification/Core/search_template.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json index 727fe791767..3d048bf671c 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.cleanup_repository.json @@ -5,6 +5,10 @@ "description": "Removes stale data from repository." }, "stability": "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json b/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json index 18122bc209b..da9409110aa 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.clone.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.create.json b/src/ApiGenerator/RestSpecification/Core/snapshot.create.json index da8cb9916f5..7f70def77ad 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.create.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.create.json @@ -5,6 +5,11 @@ "description":"Creates a snapshot in a repository." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json index 431ac3c68c0..504abd3d076 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.create_repository.json @@ -5,6 +5,11 @@ "description":"Creates a repository." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json b/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json index 30053cd5b94..3351fdfb12d 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.delete.json @@ -5,6 +5,10 @@ "description":"Deletes a snapshot." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json index b60aeba83a3..8b6ce52d382 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.delete_repository.json @@ -5,6 +5,10 @@ "description":"Deletes a repository." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.get.json b/src/ApiGenerator/RestSpecification/Core/snapshot.get.json index 20006f6f499..e37a9797996 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.get.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.get.json @@ -5,6 +5,10 @@ "description":"Returns information about a snapshot." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json index 8c91caa4fe8..c85d0180796 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.get_repository.json @@ -5,6 +5,10 @@ "description":"Returns information about a repository." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json b/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json index 697ea395dcc..c4ecb5571da 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.restore.json @@ -5,6 +5,11 @@ "description":"Restores a snapshot." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.status.json b/src/ApiGenerator/RestSpecification/Core/snapshot.status.json index 70a7ba23ef5..e5f1af202d3 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.status.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.status.json @@ -5,6 +5,10 @@ "description":"Returns information about the status of a snapshot." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json b/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json index de638c19d4a..ce5c1d2935d 100644 --- a/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json +++ b/src/ApiGenerator/RestSpecification/Core/snapshot.verify_repository.json @@ -5,6 +5,10 @@ "description":"Verifies a repository." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/tasks.cancel.json b/src/ApiGenerator/RestSpecification/Core/tasks.cancel.json index 966197f4e76..525c72aaa27 100644 --- a/src/ApiGenerator/RestSpecification/Core/tasks.cancel.json +++ b/src/ApiGenerator/RestSpecification/Core/tasks.cancel.json @@ -4,7 +4,11 @@ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "description":"Cancels a task, if it can be cancelled through an API." }, - "stability":"stable", + "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/tasks.get.json b/src/ApiGenerator/RestSpecification/Core/tasks.get.json index 63bd1b6a96e..0863e05b97f 100644 --- a/src/ApiGenerator/RestSpecification/Core/tasks.get.json +++ b/src/ApiGenerator/RestSpecification/Core/tasks.get.json @@ -4,7 +4,11 @@ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "description":"Returns information about a task." }, - "stability":"stable", + "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/tasks.list.json b/src/ApiGenerator/RestSpecification/Core/tasks.list.json index 0aba6d6391d..058ff363683 100644 --- a/src/ApiGenerator/RestSpecification/Core/tasks.list.json +++ b/src/ApiGenerator/RestSpecification/Core/tasks.list.json @@ -4,7 +4,11 @@ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html", "description":"Returns a list of tasks." }, - "stability":"stable", + "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/termvectors.json b/src/ApiGenerator/RestSpecification/Core/termvectors.json index dd7fac97d79..e9f8d7a4dfb 100644 --- a/src/ApiGenerator/RestSpecification/Core/termvectors.json +++ b/src/ApiGenerator/RestSpecification/Core/termvectors.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/update.json b/src/ApiGenerator/RestSpecification/Core/update.json index 81bc101600a..450f20c0a49 100644 --- a/src/ApiGenerator/RestSpecification/Core/update.json +++ b/src/ApiGenerator/RestSpecification/Core/update.json @@ -5,6 +5,11 @@ "description":"Updates a document with a script or partial document." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/update_by_query.json b/src/ApiGenerator/RestSpecification/Core/update_by_query.json index 930f1a97000..cb32ec99076 100644 --- a/src/ApiGenerator/RestSpecification/Core/update_by_query.json +++ b/src/ApiGenerator/RestSpecification/Core/update_by_query.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/Core/update_by_query_rethrottle.json b/src/ApiGenerator/RestSpecification/Core/update_by_query_rethrottle.json index bd70f6e1231..18895ad443c 100644 --- a/src/ApiGenerator/RestSpecification/Core/update_by_query_rethrottle.json +++ b/src/ApiGenerator/RestSpecification/Core/update_by_query_rethrottle.json @@ -5,6 +5,10 @@ "description":"Changes the number of requests per second for a particular Update By Query operation." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/async_search.delete.json b/src/ApiGenerator/RestSpecification/XPack/async_search.delete.json index 70794f4a8b7..7cfc14487a3 100644 --- a/src/ApiGenerator/RestSpecification/XPack/async_search.delete.json +++ b/src/ApiGenerator/RestSpecification/XPack/async_search.delete.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/async_search.get.json b/src/ApiGenerator/RestSpecification/XPack/async_search.get.json index 76c4650ab07..41cf08b6310 100644 --- a/src/ApiGenerator/RestSpecification/XPack/async_search.get.json +++ b/src/ApiGenerator/RestSpecification/XPack/async_search.get.json @@ -5,6 +5,10 @@ "description": "Retrieves the results of a previously submitted async search request given its ID." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/async_search.status.json b/src/ApiGenerator/RestSpecification/XPack/async_search.status.json index 54d56282513..81993cbad29 100644 --- a/src/ApiGenerator/RestSpecification/XPack/async_search.status.json +++ b/src/ApiGenerator/RestSpecification/XPack/async_search.status.json @@ -5,6 +5,10 @@ "description": "Retrieves the status of a previously submitted async search request given its ID." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/async_search.submit.json b/src/ApiGenerator/RestSpecification/XPack/async_search.submit.json index 1f4d0b9a6bf..d8cbb2e6e42 100644 --- a/src/ApiGenerator/RestSpecification/XPack/async_search.submit.json +++ b/src/ApiGenerator/RestSpecification/XPack/async_search.submit.json @@ -5,6 +5,11 @@ "description": "Executes a search request asynchronously." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json index aeab848247d..9b2f363077d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json @@ -5,6 +5,11 @@ "description":"Deletes an autoscaling policy." }, "stability":"experimental", + "visibility":"feature_flag", + "feature_flag":"es.autoscaling_feature_flag_registered", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json index 8e5654025b5..76275fa9bcd 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json index 309f9a9a559..e71bb131dc5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json @@ -5,6 +5,11 @@ "description": "Retrieves an autoscaling policy." }, "stability":"experimental", + "visibility":"feature_flag", + "feature_flag":"es.autoscaling_feature_flag_registered", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json index 6d1fe4b6312..2eac19c8c69 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json @@ -5,6 +5,12 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/cat.ml_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/cat.ml_data_frame_analytics.json index ec041788fff..ded66961c3e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/cat.ml_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/cat.ml_data_frame_analytics.json @@ -5,6 +5,10 @@ "description": "Gets configuration and usage information about data frame analytics jobs." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/cat.ml_datafeeds.json b/src/ApiGenerator/RestSpecification/XPack/cat.ml_datafeeds.json index dac54c52f83..16f34f462fc 100644 --- a/src/ApiGenerator/RestSpecification/XPack/cat.ml_datafeeds.json +++ b/src/ApiGenerator/RestSpecification/XPack/cat.ml_datafeeds.json @@ -5,6 +5,10 @@ "description": "Gets configuration and usage information about datafeeds." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/cat.ml_jobs.json b/src/ApiGenerator/RestSpecification/XPack/cat.ml_jobs.json index 2552b1c2193..8b8cddb818a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/cat.ml_jobs.json +++ b/src/ApiGenerator/RestSpecification/XPack/cat.ml_jobs.json @@ -5,6 +5,10 @@ "description": "Gets configuration and usage information about anomaly detection jobs." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/cat.ml_trained_models.json b/src/ApiGenerator/RestSpecification/XPack/cat.ml_trained_models.json index e129d3201ab..5176b9d4ca6 100644 --- a/src/ApiGenerator/RestSpecification/XPack/cat.ml_trained_models.json +++ b/src/ApiGenerator/RestSpecification/XPack/cat.ml_trained_models.json @@ -5,6 +5,10 @@ "description": "Gets configuration and usage information about inference trained models." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/cat.transforms.json b/src/ApiGenerator/RestSpecification/XPack/cat.transforms.json index ad22e646f21..c0dd769dc3d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/cat.transforms.json +++ b/src/ApiGenerator/RestSpecification/XPack/cat.transforms.json @@ -5,6 +5,10 @@ "description": "Gets configuration and usage information about transforms." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.delete_auto_follow_pattern.json b/src/ApiGenerator/RestSpecification/XPack/ccr.delete_auto_follow_pattern.json index f9e70a1f6ac..52f56ca3213 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.delete_auto_follow_pattern.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.delete_auto_follow_pattern.json @@ -5,6 +5,10 @@ "description": "Deletes auto-follow patterns." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.follow.json b/src/ApiGenerator/RestSpecification/XPack/ccr.follow.json index be3dfc75217..6905a53ead4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.follow.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.follow.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.follow_info.json b/src/ApiGenerator/RestSpecification/XPack/ccr.follow_info.json index 858eab0b918..17ecd57155a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.follow_info.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.follow_info.json @@ -5,6 +5,10 @@ "description": "Retrieves information about all follower indices, including parameters and status for each follower index" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.follow_stats.json b/src/ApiGenerator/RestSpecification/XPack/ccr.follow_stats.json index 1abe53bd21c..54de8c4df64 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.follow_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.follow_stats.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.forget_follower.json b/src/ApiGenerator/RestSpecification/XPack/ccr.forget_follower.json index d0df2f164fe..8106a74b9d0 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.forget_follower.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.forget_follower.json @@ -5,6 +5,11 @@ "description": "Removes the follower retention leases from the leader." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.get_auto_follow_pattern.json b/src/ApiGenerator/RestSpecification/XPack/ccr.get_auto_follow_pattern.json index b89587d2611..8073fd72bba 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.get_auto_follow_pattern.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.get_auto_follow_pattern.json @@ -5,6 +5,10 @@ "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.pause_auto_follow_pattern.json b/src/ApiGenerator/RestSpecification/XPack/ccr.pause_auto_follow_pattern.json index 711e3deb319..9375673489e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.pause_auto_follow_pattern.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.pause_auto_follow_pattern.json @@ -5,6 +5,10 @@ "description": "Pauses an auto-follow pattern" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.pause_follow.json b/src/ApiGenerator/RestSpecification/XPack/ccr.pause_follow.json index f45947b1a87..a4923df29c5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.pause_follow.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.pause_follow.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.put_auto_follow_pattern.json b/src/ApiGenerator/RestSpecification/XPack/ccr.put_auto_follow_pattern.json index 79a498da16d..6331b4ff061 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.put_auto_follow_pattern.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.put_auto_follow_pattern.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.resume_auto_follow_pattern.json b/src/ApiGenerator/RestSpecification/XPack/ccr.resume_auto_follow_pattern.json index e6c3d268b16..b679155b28a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.resume_auto_follow_pattern.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.resume_auto_follow_pattern.json @@ -5,6 +5,10 @@ "description": "Resumes an auto-follow pattern that has been paused" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.resume_follow.json b/src/ApiGenerator/RestSpecification/XPack/ccr.resume_follow.json index de1945f347b..d6addce133a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.resume_follow.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.resume_follow.json @@ -5,6 +5,11 @@ "description": "Resumes a follower index that has been paused" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.stats.json b/src/ApiGenerator/RestSpecification/XPack/ccr.stats.json index dc70f1a3971..ac47e9c3d0b 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.stats.json @@ -5,6 +5,10 @@ "description": "Gets all stats related to cross-cluster replication." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ccr.unfollow.json b/src/ApiGenerator/RestSpecification/XPack/ccr.unfollow.json index c5db9219a39..7a49b4a1098 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ccr.unfollow.json +++ b/src/ApiGenerator/RestSpecification/XPack/ccr.unfollow.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/close_point_in_time.json b/src/ApiGenerator/RestSpecification/XPack/close_point_in_time.json index 16a4aabd5bf..d3f636a1bd0 100644 --- a/src/ApiGenerator/RestSpecification/XPack/close_point_in_time.json +++ b/src/ApiGenerator/RestSpecification/XPack/close_point_in_time.json @@ -5,6 +5,10 @@ "description":"Close a point in time" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.delete_transform.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.delete_transform.json index 28c90b604f6..ac9962fa38f 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.delete_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.delete_transform.json @@ -5,6 +5,10 @@ "description":"Deletes an existing transform." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform.json index 22726a95963..6737a867537 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform.json @@ -5,6 +5,10 @@ "description":"Retrieves configuration information for transforms." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform_stats.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform_stats.json index 7822f3ce5c0..0fbbcce236a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.get_transform_stats.json @@ -5,6 +5,10 @@ "description":"Retrieves usage information for transforms." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.preview_transform.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.preview_transform.json index 90b9b9173aa..bcf683f1ac8 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.preview_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.preview_transform.json @@ -5,6 +5,11 @@ "description":"Previews a transform." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.put_transform.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.put_transform.json index ce86e733ba5..02d2dc87d17 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.put_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.put_transform.json @@ -5,6 +5,11 @@ "description":"Instantiates a transform." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.start_transform.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.start_transform.json index fd9e25619d7..a7be8c6c765 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.start_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.start_transform.json @@ -5,6 +5,10 @@ "description":"Starts one or more transforms." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.stop_transform.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.stop_transform.json index 8938ec5bc8e..f479f5a13f0 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.stop_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.stop_transform.json @@ -5,6 +5,10 @@ "description":"Stops one or more transforms." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.update_transform.json b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.update_transform.json index 97e1821b53c..630a50a58cb 100644 --- a/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.update_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/data_frame_transform_deprecated.update_transform.json @@ -5,6 +5,11 @@ "description":"Updates certain properties of a transform." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept":[ "application/json"], + "content_type":["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/enrich.delete_policy.json b/src/ApiGenerator/RestSpecification/XPack/enrich.delete_policy.json index f7a18302510..3137f6b5553 100644 --- a/src/ApiGenerator/RestSpecification/XPack/enrich.delete_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/enrich.delete_policy.json @@ -5,6 +5,10 @@ "description": "Deletes an existing enrich policy and its enrich index." }, "stability" : "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/enrich.execute_policy.json b/src/ApiGenerator/RestSpecification/XPack/enrich.execute_policy.json index a448d91062c..5e4c8a2251d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/enrich.execute_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/enrich.execute_policy.json @@ -5,6 +5,10 @@ "description": "Creates the enrich index for an existing enrich policy." }, "stability" : "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/enrich.get_policy.json b/src/ApiGenerator/RestSpecification/XPack/enrich.get_policy.json index f1ea3fda86d..44778aff61b 100644 --- a/src/ApiGenerator/RestSpecification/XPack/enrich.get_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/enrich.get_policy.json @@ -5,6 +5,10 @@ "description": "Gets information about an enrich policy." }, "stability" : "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/enrich.put_policy.json b/src/ApiGenerator/RestSpecification/XPack/enrich.put_policy.json index 10787158443..0d1cefd3e40 100644 --- a/src/ApiGenerator/RestSpecification/XPack/enrich.put_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/enrich.put_policy.json @@ -5,6 +5,11 @@ "description": "Creates a new enrich policy." }, "stability" : "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/enrich.stats.json b/src/ApiGenerator/RestSpecification/XPack/enrich.stats.json index 153ee42b7a7..b4218acf30e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/enrich.stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/enrich.stats.json @@ -5,6 +5,10 @@ "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing." }, "stability" : "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/eql.delete.json b/src/ApiGenerator/RestSpecification/XPack/eql.delete.json index 47b3990adcb..18f690227ca 100644 --- a/src/ApiGenerator/RestSpecification/XPack/eql.delete.json +++ b/src/ApiGenerator/RestSpecification/XPack/eql.delete.json @@ -4,7 +4,11 @@ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html", "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":"beta", + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/eql.get.json b/src/ApiGenerator/RestSpecification/XPack/eql.get.json index 9271f43edf7..c7a228da97a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/eql.get.json +++ b/src/ApiGenerator/RestSpecification/XPack/eql.get.json @@ -4,7 +4,11 @@ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html", "description": "Returns async results from previously executed Event Query Language (EQL) search" }, - "stability": "beta", + "stability": "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/eql.search.json b/src/ApiGenerator/RestSpecification/XPack/eql.search.json index c371851deeb..6748dfd4acf 100644 --- a/src/ApiGenerator/RestSpecification/XPack/eql.search.json +++ b/src/ApiGenerator/RestSpecification/XPack/eql.search.json @@ -4,7 +4,13 @@ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html", "description": "Returns results matching a query expressed in Event Query Language (EQL)" }, - "stability": "beta", + "stability": "stable", + "visibility":"feature_flag", + "feature_flag":"es.eql_feature_flag_registered", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/graph.explore.json b/src/ApiGenerator/RestSpecification/XPack/graph.explore.json index 1af87af716a..c40a5c5ba63 100644 --- a/src/ApiGenerator/RestSpecification/XPack/graph.explore.json +++ b/src/ApiGenerator/RestSpecification/XPack/graph.explore.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.delete_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/ilm.delete_lifecycle.json index 59c14b3c9e2..2ff1031ad5c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.delete_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.delete_lifecycle.json @@ -5,6 +5,10 @@ "description": "Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.explain_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/ilm.explain_lifecycle.json index 9a8f11ae5bc..c793ed09281 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.explain_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.explain_lifecycle.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.get_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/ilm.get_lifecycle.json index 6846d92b97e..17bf813093d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.get_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.get_lifecycle.json @@ -5,6 +5,10 @@ "description": "Returns the specified policy definition. Includes the policy version and last modified date." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.get_status.json b/src/ApiGenerator/RestSpecification/XPack/ilm.get_status.json index 1808e903a68..eba1b93c1e4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.get_status.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.get_status.json @@ -5,6 +5,10 @@ "description":"Retrieves the current index lifecycle management (ILM) status." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.move_to_step.json b/src/ApiGenerator/RestSpecification/XPack/ilm.move_to_step.json index c3b397ba8a8..3f46b8fa913 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.move_to_step.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.move_to_step.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.put_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/ilm.put_lifecycle.json index 260292118a7..5a12a778241 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.put_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.put_lifecycle.json @@ -5,6 +5,11 @@ "description":"Creates a lifecycle policy" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.remove_policy.json b/src/ApiGenerator/RestSpecification/XPack/ilm.remove_policy.json index e39c95f68d7..bc684186e15 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.remove_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.remove_policy.json @@ -5,6 +5,10 @@ "description":"Removes the assigned lifecycle policy and stops managing the specified index" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.retry.json b/src/ApiGenerator/RestSpecification/XPack/ilm.retry.json index ab957713db0..b567d9b73cb 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.retry.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.retry.json @@ -5,6 +5,10 @@ "description":"Retries executing the policy for an index that is in the ERROR step." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.start.json b/src/ApiGenerator/RestSpecification/XPack/ilm.start.json index 56ca5a4ad4c..88b020071ab 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.start.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.start.json @@ -5,6 +5,10 @@ "description":"Start the index lifecycle management (ILM) plugin." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ilm.stop.json b/src/ApiGenerator/RestSpecification/XPack/ilm.stop.json index 9604499ceca..8401f93badf 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ilm.stop.json +++ b/src/ApiGenerator/RestSpecification/XPack/ilm.stop.json @@ -5,6 +5,10 @@ "description":"Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.create_data_stream.json b/src/ApiGenerator/RestSpecification/XPack/indices.create_data_stream.json index 693f91a561d..f8f3e238661 100644 --- a/src/ApiGenerator/RestSpecification/XPack/indices.create_data_stream.json +++ b/src/ApiGenerator/RestSpecification/XPack/indices.create_data_stream.json @@ -5,6 +5,10 @@ "description":"Creates a data stream" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.data_streams_stats.json b/src/ApiGenerator/RestSpecification/XPack/indices.data_streams_stats.json index 75922e30a9a..90a3574d5b4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/indices.data_streams_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/indices.data_streams_stats.json @@ -5,6 +5,10 @@ "description":"Provides statistics on operations happening in a data stream." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.delete_data_stream.json b/src/ApiGenerator/RestSpecification/XPack/indices.delete_data_stream.json index c9e7f995c3a..26f015f6028 100644 --- a/src/ApiGenerator/RestSpecification/XPack/indices.delete_data_stream.json +++ b/src/ApiGenerator/RestSpecification/XPack/indices.delete_data_stream.json @@ -5,6 +5,10 @@ "description":"Deletes a data stream." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.freeze.json b/src/ApiGenerator/RestSpecification/XPack/indices.freeze.json index 2966db1d015..e743a53cab3 100644 --- a/src/ApiGenerator/RestSpecification/XPack/indices.freeze.json +++ b/src/ApiGenerator/RestSpecification/XPack/indices.freeze.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.get_data_stream.json b/src/ApiGenerator/RestSpecification/XPack/indices.get_data_stream.json index ab0d4de8bb7..3b41a9e1e77 100644 --- a/src/ApiGenerator/RestSpecification/XPack/indices.get_data_stream.json +++ b/src/ApiGenerator/RestSpecification/XPack/indices.get_data_stream.json @@ -5,6 +5,10 @@ "description":"Returns data streams." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.migrate_to_data_stream.json b/src/ApiGenerator/RestSpecification/XPack/indices.migrate_to_data_stream.json new file mode 100644 index 00000000000..4254ae79a23 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/XPack/indices.migrate_to_data_stream.json @@ -0,0 +1,31 @@ +{ + "indices.migrate_to_data_stream":{ + "documentation":{ + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", + "description":"Migrates an alias to a data stream" + }, + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, + "url":{ + "paths":[ + { + "path":"/_data_stream/_migrate/{name}", + "methods":[ + "POST" + ], + "parts":{ + "name":{ + "type":"string", + "description":"The name of the alias to migrate" + } + } + } + ] + }, + "params":{ + } + } +} diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.promote_data_stream.json b/src/ApiGenerator/RestSpecification/XPack/indices.promote_data_stream.json new file mode 100644 index 00000000000..5b51a900235 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/XPack/indices.promote_data_stream.json @@ -0,0 +1,31 @@ +{ + "indices.promote_data_stream":{ + "documentation":{ + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", + "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"] + }, + "url":{ + "paths":[ + { + "path":"/_data_stream/_promote/{name}", + "methods":[ + "POST" + ], + "parts":{ + "name":{ + "type":"string", + "description":"The name of the data stream" + } + } + } + ] + }, + "params":{ + } + } +} diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.reload_search_analyzers.json b/src/ApiGenerator/RestSpecification/XPack/indices.reload_search_analyzers.json index 2c0214976b3..67a1d7acd8c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/indices.reload_search_analyzers.json +++ b/src/ApiGenerator/RestSpecification/XPack/indices.reload_search_analyzers.json @@ -5,6 +5,10 @@ "description":"Reloads an index's search analyzers and their resources." }, "stability" : "stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/indices.unfreeze.json b/src/ApiGenerator/RestSpecification/XPack/indices.unfreeze.json index bc527f6f195..c51f70e141f 100644 --- a/src/ApiGenerator/RestSpecification/XPack/indices.unfreeze.json +++ b/src/ApiGenerator/RestSpecification/XPack/indices.unfreeze.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/license.delete.json b/src/ApiGenerator/RestSpecification/XPack/license.delete.json index 153f38b264f..0ecc702b015 100644 --- a/src/ApiGenerator/RestSpecification/XPack/license.delete.json +++ b/src/ApiGenerator/RestSpecification/XPack/license.delete.json @@ -5,6 +5,10 @@ "description":"Deletes licensing information for the cluster" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/license.get.json b/src/ApiGenerator/RestSpecification/XPack/license.get.json index 4052a2b5c2d..2e01d6ed56a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/license.get.json +++ b/src/ApiGenerator/RestSpecification/XPack/license.get.json @@ -5,6 +5,10 @@ "description":"Retrieves licensing information for the cluster" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/license.get_basic_status.json b/src/ApiGenerator/RestSpecification/XPack/license.get_basic_status.json index d29bc9ffba6..a689daf4fe8 100644 --- a/src/ApiGenerator/RestSpecification/XPack/license.get_basic_status.json +++ b/src/ApiGenerator/RestSpecification/XPack/license.get_basic_status.json @@ -5,6 +5,10 @@ "description":"Retrieves information about the status of the basic license." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/license.get_trial_status.json b/src/ApiGenerator/RestSpecification/XPack/license.get_trial_status.json index 71c854b4f5d..dffa2932a17 100644 --- a/src/ApiGenerator/RestSpecification/XPack/license.get_trial_status.json +++ b/src/ApiGenerator/RestSpecification/XPack/license.get_trial_status.json @@ -5,6 +5,10 @@ "description":"Retrieves information about the status of the trial license." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/license.post.json b/src/ApiGenerator/RestSpecification/XPack/license.post.json index 2b637f8577b..476aa334e31 100644 --- a/src/ApiGenerator/RestSpecification/XPack/license.post.json +++ b/src/ApiGenerator/RestSpecification/XPack/license.post.json @@ -5,6 +5,11 @@ "description":"Updates the license for the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/license.post_start_basic.json b/src/ApiGenerator/RestSpecification/XPack/license.post_start_basic.json index 855a90cfe2a..8cf6c7b0e20 100644 --- a/src/ApiGenerator/RestSpecification/XPack/license.post_start_basic.json +++ b/src/ApiGenerator/RestSpecification/XPack/license.post_start_basic.json @@ -5,6 +5,10 @@ "description":"Starts an indefinite basic license." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/license.post_start_trial.json b/src/ApiGenerator/RestSpecification/XPack/license.post_start_trial.json index ebf5f718801..3da1801d3b0 100644 --- a/src/ApiGenerator/RestSpecification/XPack/license.post_start_trial.json +++ b/src/ApiGenerator/RestSpecification/XPack/license.post_start_trial.json @@ -5,6 +5,10 @@ "description":"starts a limited time trial license." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/migration.deprecations.json b/src/ApiGenerator/RestSpecification/XPack/migration.deprecations.json index ca19147c052..6906cacc2bd 100644 --- a/src/ApiGenerator/RestSpecification/XPack/migration.deprecations.json +++ b/src/ApiGenerator/RestSpecification/XPack/migration.deprecations.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.close_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.close_job.json index 5d738298c09..364ae545d87 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.close_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.close_job.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar.json index 7cf3501b265..b224c870ed4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar.json @@ -5,6 +5,10 @@ "description":"Deletes a calendar." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_event.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_event.json index aa6e2d310a5..92fe4ea3486 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_event.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_event.json @@ -5,6 +5,10 @@ "description":"Deletes scheduled events from a calendar." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_job.json index 075ddcac10f..e122c41f208 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_calendar_job.json @@ -5,6 +5,10 @@ "description":"Deletes anomaly detection jobs from a calendar." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_data_frame_analytics.json index 69f7cc9ffd6..89818ac524c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_data_frame_analytics.json @@ -5,6 +5,10 @@ "description":"Deletes an existing data frame analytics job." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_datafeed.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_datafeed.json index d3abeaa6c12..8cff1cbf83e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_datafeed.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_datafeed.json @@ -5,6 +5,10 @@ "description":"Deletes an existing datafeed." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_expired_data.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_expired_data.json index 6b6a1ec03e8..c45ca323d40 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_expired_data.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_expired_data.json @@ -5,6 +5,10 @@ "description":"Deletes expired and unused machine learning data." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_filter.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_filter.json index 9556a0fe472..e275a9dc9ed 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_filter.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_filter.json @@ -5,6 +5,10 @@ "description":"Deletes a filter." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_forecast.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_forecast.json index 08f4a79e0f8..45235187b35 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_forecast.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_forecast.json @@ -5,6 +5,10 @@ "description":"Deletes forecasts from a machine learning job." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_job.json index eb820441fdd..a10e115aeda 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_job.json @@ -5,6 +5,10 @@ "description":"Deletes an existing anomaly detection job." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_model_snapshot.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_model_snapshot.json index b6caa438acd..499cb3b19bb 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_model_snapshot.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_model_snapshot.json @@ -5,6 +5,10 @@ "description":"Deletes an existing model snapshot." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.delete_trained_model.json b/src/ApiGenerator/RestSpecification/XPack/ml.delete_trained_model.json index 2a86509643b..a7954a6b5a0 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.delete_trained_model.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.delete_trained_model.json @@ -5,6 +5,10 @@ "description":"Deletes an existing trained inference model that is currently not referenced by an ingest pipeline." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.estimate_model_memory.json b/src/ApiGenerator/RestSpecification/XPack/ml.estimate_model_memory.json index 4a024f93722..75bff3b52d9 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.estimate_model_memory.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.estimate_model_memory.json @@ -5,6 +5,11 @@ "description":"Estimates the model memory" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.evaluate_data_frame.json b/src/ApiGenerator/RestSpecification/XPack/ml.evaluate_data_frame.json index fcabe43337f..f003155d668 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.evaluate_data_frame.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.evaluate_data_frame.json @@ -5,6 +5,11 @@ "description":"Evaluates the data frame analytics for an annotated index." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.explain_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/ml.explain_data_frame_analytics.json index 895c868c31e..d1cd6840e0e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.explain_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.explain_data_frame_analytics.json @@ -5,6 +5,11 @@ "description":"Explains a data frame analytics config." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept":[ "application/json"], + "content_type":["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.find_file_structure.json b/src/ApiGenerator/RestSpecification/XPack/ml.find_file_structure.json index 13594031fc6..1eae145d0d4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.find_file_structure.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.find_file_structure.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.flush_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.flush_job.json index 3e2f7f365ba..71abaf95281 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.flush_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.flush_job.json @@ -5,6 +5,11 @@ "description":"Forces any buffered data to be processed by the job." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.forecast.json b/src/ApiGenerator/RestSpecification/XPack/ml.forecast.json index 28ba5132fba..8a88e904802 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.forecast.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.forecast.json @@ -5,6 +5,10 @@ "description":"Predicts the future behavior of a time series by using its historical behavior." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_buckets.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_buckets.json index 90f7cedea54..dcf9a2cbe30 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_buckets.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_buckets.json @@ -5,6 +5,11 @@ "description":"Retrieves anomaly detection job results for one or more buckets." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_calendar_events.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_calendar_events.json index 0bb10780d1d..0b3435ff3f9 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_calendar_events.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_calendar_events.json @@ -5,6 +5,10 @@ "description":"Retrieves information about the scheduled events in calendars." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_calendars.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_calendars.json index ec6268acb49..d7666f69d1d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_calendars.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_calendars.json @@ -5,6 +5,11 @@ "description":"Retrieves configuration information for calendars." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_categories.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_categories.json index 654a9635d53..6dfa2e64dd2 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_categories.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_categories.json @@ -5,6 +5,11 @@ "description":"Retrieves anomaly detection job results for one or more categories." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics.json index f81f52d6ae4..8986067b010 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics.json @@ -5,6 +5,10 @@ "description":"Retrieves configuration information for data frame analytics jobs." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics_stats.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics_stats.json index b40472b3498..baeef37d714 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_data_frame_analytics_stats.json @@ -5,6 +5,10 @@ "description":"Retrieves usage information for data frame analytics jobs." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeed_stats.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeed_stats.json index fda166f2b8f..72d84a27899 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeed_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeed_stats.json @@ -5,6 +5,10 @@ "description":"Retrieves usage information for datafeeds." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeeds.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeeds.json index 90dc0b72b1c..f61a7daeed9 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeeds.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_datafeeds.json @@ -5,6 +5,10 @@ "description":"Retrieves configuration information for datafeeds." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_filters.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_filters.json index b56518c524e..1f195a4260c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_filters.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_filters.json @@ -5,6 +5,10 @@ "description":"Retrieves filters." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_influencers.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_influencers.json index 25f68ab014a..bf4e43d4b03 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_influencers.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_influencers.json @@ -5,6 +5,11 @@ "description":"Retrieves anomaly detection job results for one or more influencers." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_job_stats.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_job_stats.json index cdabc22a2d0..456cf923e85 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_job_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_job_stats.json @@ -5,6 +5,10 @@ "description":"Retrieves usage information for anomaly detection jobs." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_jobs.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_jobs.json index fce317332c9..2d716238e8f 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_jobs.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_jobs.json @@ -5,6 +5,10 @@ "description":"Retrieves configuration information for anomaly detection jobs." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_model_snapshots.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_model_snapshots.json index 5dafaa43d8e..1a9c91478b3 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_model_snapshots.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_model_snapshots.json @@ -5,6 +5,11 @@ "description":"Retrieves information about model snapshots." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_overall_buckets.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_overall_buckets.json index 7bfa7e8eb30..646275ec1ff 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_overall_buckets.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_overall_buckets.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_records.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_records.json index 9d8658972e6..9af20f70199 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_records.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_records.json @@ -5,6 +5,11 @@ "description":"Retrieves anomaly records for an anomaly detection job." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models.json index 045f8483472..8f08856f60c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models.json @@ -5,6 +5,10 @@ "description":"Retrieves configuration information for a trained inference model." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models_stats.json b/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models_stats.json index e335a9f0da9..3b988843058 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.get_trained_models_stats.json @@ -5,6 +5,10 @@ "description":"Retrieves usage information for trained inference models." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.info.json b/src/ApiGenerator/RestSpecification/XPack/ml.info.json index 22c15971eb9..25659abf3f6 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.info.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.info.json @@ -5,6 +5,10 @@ "description":"Returns defaults and limits used by machine learning." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.open_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.open_job.json index 436d4541806..07b9e666e28 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.open_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.open_job.json @@ -5,6 +5,10 @@ "description":"Opens one or more anomaly detection jobs." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.post_calendar_events.json b/src/ApiGenerator/RestSpecification/XPack/ml.post_calendar_events.json index 42dcb38f66a..a23472b752a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.post_calendar_events.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.post_calendar_events.json @@ -5,6 +5,11 @@ "description":"Posts scheduled events in a calendar." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.post_data.json b/src/ApiGenerator/RestSpecification/XPack/ml.post_data.json index 52b8f15805b..cd2deb1024c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.post_data.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.post_data.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.preview_datafeed.json b/src/ApiGenerator/RestSpecification/XPack/ml.preview_datafeed.json index 30926f4abab..5cd94bc2cf5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.preview_datafeed.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.preview_datafeed.json @@ -5,6 +5,10 @@ "description":"Previews a datafeed." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar.json b/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar.json index 88b747a7aea..597b5d95819 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar.json @@ -5,6 +5,11 @@ "description":"Instantiates a calendar." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar_job.json index 3f478243b12..e7e0476a790 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.put_calendar_job.json @@ -5,6 +5,10 @@ "description":"Adds an anomaly detection job to a calendar." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.put_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/ml.put_data_frame_analytics.json index 193e08df8d4..42f89d2cf48 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.put_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.put_data_frame_analytics.json @@ -5,6 +5,11 @@ "description":"Instantiates a data frame analytics job." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.put_datafeed.json b/src/ApiGenerator/RestSpecification/XPack/ml.put_datafeed.json index 29d5bbb2b18..147290cfaf5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.put_datafeed.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.put_datafeed.json @@ -5,6 +5,11 @@ "description":"Instantiates a datafeed." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.put_filter.json b/src/ApiGenerator/RestSpecification/XPack/ml.put_filter.json index 647e9963a3c..0e7de69a9fe 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.put_filter.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.put_filter.json @@ -5,6 +5,11 @@ "description":"Instantiates a filter." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.put_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.put_job.json index 4a15a755462..24fa08e4bff 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.put_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.put_job.json @@ -5,6 +5,11 @@ "description":"Instantiates an anomaly detection job." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.put_trained_model.json b/src/ApiGenerator/RestSpecification/XPack/ml.put_trained_model.json index 1e8afc31226..b76e56c0a46 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.put_trained_model.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.put_trained_model.json @@ -5,6 +5,11 @@ "description":"Creates an inference trained model." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.revert_model_snapshot.json b/src/ApiGenerator/RestSpecification/XPack/ml.revert_model_snapshot.json index 3c0ae924aa4..02ae0edd610 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.revert_model_snapshot.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.revert_model_snapshot.json @@ -5,6 +5,11 @@ "description":"Reverts to a specific snapshot." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.set_upgrade_mode.json b/src/ApiGenerator/RestSpecification/XPack/ml.set_upgrade_mode.json index 3092b48be2a..0ef2ad9a4b6 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.set_upgrade_mode.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.set_upgrade_mode.json @@ -5,6 +5,10 @@ "description":"Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.start_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/ml.start_data_frame_analytics.json index 0081bf03b63..eca008ec018 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.start_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.start_data_frame_analytics.json @@ -5,6 +5,11 @@ "description":"Starts a data frame analytics job." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.start_datafeed.json b/src/ApiGenerator/RestSpecification/XPack/ml.start_datafeed.json index 1348478c32f..9e9231805ea 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.start_datafeed.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.start_datafeed.json @@ -5,6 +5,11 @@ "description":"Starts one or more datafeeds." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.stop_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/ml.stop_data_frame_analytics.json index 0b02af10384..78b6f92f905 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.stop_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.stop_data_frame_analytics.json @@ -5,6 +5,11 @@ "description":"Stops one or more data frame analytics jobs." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.stop_datafeed.json b/src/ApiGenerator/RestSpecification/XPack/ml.stop_datafeed.json index a93af8f1b3b..5dca1e79703 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.stop_datafeed.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.stop_datafeed.json @@ -5,6 +5,10 @@ "description":"Stops one or more datafeeds." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.update_data_frame_analytics.json b/src/ApiGenerator/RestSpecification/XPack/ml.update_data_frame_analytics.json index a3615c78ae5..d6fb79f8ff6 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.update_data_frame_analytics.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.update_data_frame_analytics.json @@ -5,6 +5,11 @@ "description":"Updates certain properties of a data frame analytics job." }, "stability":"beta", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.update_datafeed.json b/src/ApiGenerator/RestSpecification/XPack/ml.update_datafeed.json index 29397cedef4..8c353a550d9 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.update_datafeed.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.update_datafeed.json @@ -5,6 +5,11 @@ "description":"Updates certain properties of a datafeed." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.update_filter.json b/src/ApiGenerator/RestSpecification/XPack/ml.update_filter.json index b945940f21c..f237c45c4b2 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.update_filter.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.update_filter.json @@ -5,6 +5,11 @@ "description":"Updates the description of a filter, adds items, or removes items." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.update_job.json b/src/ApiGenerator/RestSpecification/XPack/ml.update_job.json index ddc39113827..69bdcd0100d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.update_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.update_job.json @@ -5,6 +5,11 @@ "description":"Updates certain properties of an anomaly detection job." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.update_model_snapshot.json b/src/ApiGenerator/RestSpecification/XPack/ml.update_model_snapshot.json index 08e17529f5a..77414590371 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.update_model_snapshot.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.update_model_snapshot.json @@ -5,6 +5,11 @@ "description":"Updates certain properties of a snapshot." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.upgrade_job_snapshot.json b/src/ApiGenerator/RestSpecification/XPack/ml.upgrade_job_snapshot.json index d8b7bfdada2..22de8d4915a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.upgrade_job_snapshot.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.upgrade_job_snapshot.json @@ -5,6 +5,10 @@ "description":"Upgrades a given job snapshot to the current major version." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.validate.json b/src/ApiGenerator/RestSpecification/XPack/ml.validate.json index 46f6e8337ef..5db5f91ddc5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.validate.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.validate.json @@ -5,6 +5,11 @@ "description":"Validates an anomaly detection job." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.validate_detector.json b/src/ApiGenerator/RestSpecification/XPack/ml.validate_detector.json index 336b81aaaaf..30a24b1c607 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.validate_detector.json +++ b/src/ApiGenerator/RestSpecification/XPack/ml.validate_detector.json @@ -5,6 +5,11 @@ "description":"Validates an anomaly detection detector." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/monitoring.bulk.json b/src/ApiGenerator/RestSpecification/XPack/monitoring.bulk.json index ff48044cc9d..e34bdfe85c7 100644 --- a/src/ApiGenerator/RestSpecification/XPack/monitoring.bulk.json +++ b/src/ApiGenerator/RestSpecification/XPack/monitoring.bulk.json @@ -5,6 +5,11 @@ "description":"Used by the monitoring features to send monitoring data." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/open_point_in_time.json b/src/ApiGenerator/RestSpecification/XPack/open_point_in_time.json index c388235df9e..d33ead1597a 100644 --- a/src/ApiGenerator/RestSpecification/XPack/open_point_in_time.json +++ b/src/ApiGenerator/RestSpecification/XPack/open_point_in_time.json @@ -5,6 +5,10 @@ "description":"Open a point in time that can be used in subsequent searches" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.delete_job.json b/src/ApiGenerator/RestSpecification/XPack/rollup.delete_job.json index 574ae3df385..0a60a10ed83 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.delete_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.delete_job.json @@ -5,6 +5,10 @@ "description":"Deletes an existing rollup job." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.get_jobs.json b/src/ApiGenerator/RestSpecification/XPack/rollup.get_jobs.json index f585edfdef8..46ac1c4d304 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.get_jobs.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.get_jobs.json @@ -5,6 +5,10 @@ "description":"Retrieves the configuration, stats, and status of rollup jobs." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_caps.json b/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_caps.json index d139899ae49..7dcc83ee0cd 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_caps.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_caps.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_index_caps.json b/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_index_caps.json index 33bb81f9a1d..c0e81ff7abc 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_index_caps.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.get_rollup_index_caps.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.put_job.json b/src/ApiGenerator/RestSpecification/XPack/rollup.put_job.json index 8fb10631573..2ba845cfab5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.put_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.put_job.json @@ -5,6 +5,11 @@ "description":"Creates a rollup job." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.rollup.json b/src/ApiGenerator/RestSpecification/XPack/rollup.rollup.json new file mode 100644 index 00000000000..3774df02384 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.rollup.json @@ -0,0 +1,41 @@ +{ + "rollup.rollup":{ + "documentation":{ + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html", + "description":"Rollup an index" + }, + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/{index}/_rollup/{rollup_index}", + "methods": [ + "POST" + ], + "parts": { + "index": { + "type": "string", + "description": "The index to roll up", + "required": true + }, + "rollup_index": { + "type": "string", + "description": "The name of the rollup index to create", + "required": true + } + } + } + ] + }, + "params":{}, + "body":{ + "description":"The rollup configuration", + "required":true + } + } +} diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.rollup_search.json b/src/ApiGenerator/RestSpecification/XPack/rollup.rollup_search.json index 2ca1b53fb25..6ad72da006d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.rollup_search.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.rollup_search.json @@ -5,6 +5,11 @@ "description":"Enables searching rolled-up data using the standard query DSL." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.start_job.json b/src/ApiGenerator/RestSpecification/XPack/rollup.start_job.json index b42924d08e4..85250cfcfcd 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.start_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.start_job.json @@ -5,6 +5,10 @@ "description":"Starts an existing, stopped rollup job." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/rollup.stop_job.json b/src/ApiGenerator/RestSpecification/XPack/rollup.stop_job.json index d2b65fb84a2..f6405cc99eb 100644 --- a/src/ApiGenerator/RestSpecification/XPack/rollup.stop_job.json +++ b/src/ApiGenerator/RestSpecification/XPack/rollup.stop_job.json @@ -5,6 +5,10 @@ "description":"Stops an existing, started rollup job." }, "stability":"experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.clear_cache.json b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.clear_cache.json index b5d8610372c..6356045c513 100644 --- a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.clear_cache.json +++ b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.clear_cache.json @@ -5,6 +5,10 @@ "description" : "Clear the cache of searchable snapshots." }, "stability": "experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json index c992384a385..a7a127feef5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json +++ b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json @@ -5,6 +5,11 @@ "description": "Mount a snapshot as a searchable index." }, "stability": "experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.repository_stats.json b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.repository_stats.json index 4e1008af354..10276a4109b 100644 --- a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.repository_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.repository_stats.json @@ -5,6 +5,10 @@ "description": "DEPRECATED: This API is replaced by the Repositories Metering API." }, "stability": "experimental", + "visibility": "public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json index db13c1260f8..2063d417bd1 100644 --- a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json @@ -5,6 +5,10 @@ "description": "Retrieve various statistics about searchable snapshots." }, "stability": "experimental", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.authenticate.json b/src/ApiGenerator/RestSpecification/XPack/security.authenticate.json index 35455c78151..3b65a7eebca 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.authenticate.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.authenticate.json @@ -5,6 +5,10 @@ "description":"Enables authentication as a user and retrieve information about the authenticated user." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.change_password.json b/src/ApiGenerator/RestSpecification/XPack/security.change_password.json index 1195d82b688..c2b1391c112 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.change_password.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.change_password.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.clear_api_key_cache.json b/src/ApiGenerator/RestSpecification/XPack/security.clear_api_key_cache.json index e87e265edcb..2f3ce2f27e0 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.clear_api_key_cache.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.clear_api_key_cache.json @@ -5,6 +5,10 @@ "description":"Clear a subset or all entries from the API key cache." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_privileges.json b/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_privileges.json index e2c66a32fa2..f90fbf9c1b4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_privileges.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_privileges.json @@ -5,6 +5,10 @@ "description":"Evicts application privileges from the native application privileges cache." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_realms.json b/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_realms.json index 1e0119af512..3b24c6ef423 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_realms.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_realms.json @@ -5,6 +5,10 @@ "description":"Evicts users from the user cache. Can completely clear the cache or evict specific users." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_roles.json b/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_roles.json index 72c8ac21249..64a0efe5512 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_roles.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.clear_cached_roles.json @@ -5,6 +5,10 @@ "description":"Evicts roles from the native role cache." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.create_api_key.json b/src/ApiGenerator/RestSpecification/XPack/security.create_api_key.json index e6da65981a3..31ab3993ce9 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.create_api_key.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.create_api_key.json @@ -5,6 +5,11 @@ "description":"Creates an API key for access without requiring basic authentication." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.delete_privileges.json b/src/ApiGenerator/RestSpecification/XPack/security.delete_privileges.json index 8069ed790fa..533473743f0 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.delete_privileges.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.delete_privileges.json @@ -5,6 +5,10 @@ "description":"Removes application privileges." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.delete_role.json b/src/ApiGenerator/RestSpecification/XPack/security.delete_role.json index d718ec777a4..65b2495f019 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.delete_role.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.delete_role.json @@ -5,6 +5,10 @@ "description":"Removes roles in the native realm." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.delete_role_mapping.json b/src/ApiGenerator/RestSpecification/XPack/security.delete_role_mapping.json index ee0bc3ad641..ac73fb4d7cc 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.delete_role_mapping.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.delete_role_mapping.json @@ -5,6 +5,10 @@ "description":"Removes role mappings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.delete_user.json b/src/ApiGenerator/RestSpecification/XPack/security.delete_user.json index 7c10cd3fd1b..2c7e1091a0e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.delete_user.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.delete_user.json @@ -5,6 +5,10 @@ "description":"Deletes users from the native realm." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.disable_user.json b/src/ApiGenerator/RestSpecification/XPack/security.disable_user.json index 4877870bcd4..0dead4d592d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.disable_user.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.disable_user.json @@ -5,6 +5,10 @@ "description":"Disables users in the native realm." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.enable_user.json b/src/ApiGenerator/RestSpecification/XPack/security.enable_user.json index 58d7f64f114..6218a04c9ae 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.enable_user.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.enable_user.json @@ -5,6 +5,10 @@ "description":"Enables users in the native realm." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_api_key.json b/src/ApiGenerator/RestSpecification/XPack/security.get_api_key.json index 8c508f25d32..5eebcfb4019 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_api_key.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_api_key.json @@ -5,6 +5,10 @@ "description":"Retrieves information for one or more API keys." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_builtin_privileges.json b/src/ApiGenerator/RestSpecification/XPack/security.get_builtin_privileges.json index cd20a32be63..96ab86a613b 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_builtin_privileges.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_builtin_privileges.json @@ -5,6 +5,10 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_privileges.json b/src/ApiGenerator/RestSpecification/XPack/security.get_privileges.json index b216ac98c74..278e8ad2b2e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_privileges.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_privileges.json @@ -5,6 +5,10 @@ "description":"Retrieves application privileges." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_role.json b/src/ApiGenerator/RestSpecification/XPack/security.get_role.json index 530bcfb28f0..d5a583f0dda 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_role.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_role.json @@ -5,6 +5,10 @@ "description":"Retrieves roles in the native realm." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_role_mapping.json b/src/ApiGenerator/RestSpecification/XPack/security.get_role_mapping.json index 06818b03735..88a2f33d228 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_role_mapping.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_role_mapping.json @@ -5,6 +5,10 @@ "description":"Retrieves role mappings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_token.json b/src/ApiGenerator/RestSpecification/XPack/security.get_token.json index 84a87a75d62..356391a61b5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_token.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_token.json @@ -5,6 +5,11 @@ "description":"Creates a bearer token for access without requiring basic authentication." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_user.json b/src/ApiGenerator/RestSpecification/XPack/security.get_user.json index cb1c64ce898..6f0ce577fc6 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_user.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_user.json @@ -5,6 +5,10 @@ "description":"Retrieves information about users in the native realm and built-in users." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.get_user_privileges.json b/src/ApiGenerator/RestSpecification/XPack/security.get_user_privileges.json index 7dacebae2d6..f8aab200cbb 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.get_user_privileges.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.get_user_privileges.json @@ -5,6 +5,10 @@ "description":"Retrieves application privileges." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.grant_api_key.json b/src/ApiGenerator/RestSpecification/XPack/security.grant_api_key.json index a64f0366a54..f3cc37bd745 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.grant_api_key.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.grant_api_key.json @@ -5,6 +5,11 @@ "description":"Creates an API key on behalf of another user." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.has_privileges.json b/src/ApiGenerator/RestSpecification/XPack/security.has_privileges.json index d19f4158f91..3e6efeb1c2e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.has_privileges.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.has_privileges.json @@ -5,6 +5,11 @@ "description":"Determines whether the specified user has a specified list of privileges." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.invalidate_api_key.json b/src/ApiGenerator/RestSpecification/XPack/security.invalidate_api_key.json index 15a7e5437e1..bdf33859d03 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.invalidate_api_key.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.invalidate_api_key.json @@ -5,6 +5,11 @@ "description":"Invalidates one or more API keys." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.invalidate_token.json b/src/ApiGenerator/RestSpecification/XPack/security.invalidate_token.json index 75a3283c1e6..cf4b56a4e2f 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.invalidate_token.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.invalidate_token.json @@ -5,6 +5,11 @@ "description":"Invalidates one or more access tokens or refresh tokens." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.put_privileges.json b/src/ApiGenerator/RestSpecification/XPack/security.put_privileges.json index 36f5bfa2f8d..da63002b494 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.put_privileges.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.put_privileges.json @@ -5,6 +5,11 @@ "description":"Adds or updates application privileges." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.put_role.json b/src/ApiGenerator/RestSpecification/XPack/security.put_role.json index 61aeca519c9..687bbe56139 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.put_role.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.put_role.json @@ -5,6 +5,11 @@ "description":"Adds and updates roles in the native realm." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.put_role_mapping.json b/src/ApiGenerator/RestSpecification/XPack/security.put_role_mapping.json index 167c13c9367..12c7e8b1b72 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.put_role_mapping.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.put_role_mapping.json @@ -5,6 +5,11 @@ "description":"Creates and updates role mappings." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/security.put_user.json b/src/ApiGenerator/RestSpecification/XPack/security.put_user.json index 70dff7aba4a..a3a170b2ecf 100644 --- a/src/ApiGenerator/RestSpecification/XPack/security.put_user.json +++ b/src/ApiGenerator/RestSpecification/XPack/security.put_user.json @@ -5,6 +5,11 @@ "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"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.delete_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/slm.delete_lifecycle.json index 07b21da6c7a..12202a7a2a7 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.delete_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.delete_lifecycle.json @@ -5,6 +5,10 @@ "description":"Deletes an existing snapshot lifecycle policy." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.execute_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/slm.execute_lifecycle.json index 74f57492867..1395a3d3275 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.execute_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.execute_lifecycle.json @@ -5,6 +5,10 @@ "description":"Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.execute_retention.json b/src/ApiGenerator/RestSpecification/XPack/slm.execute_retention.json index 6448a1d20c6..f6ce3e75cc3 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.execute_retention.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.execute_retention.json @@ -5,6 +5,10 @@ "description":"Deletes any snapshots that are expired according to the policy's retention rules." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.get_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/slm.get_lifecycle.json index 4a208ebb2a7..94d0772a405 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.get_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.get_lifecycle.json @@ -5,6 +5,10 @@ "description":"Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.get_stats.json b/src/ApiGenerator/RestSpecification/XPack/slm.get_stats.json index b4fe2f23a7e..aa693ad3171 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.get_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.get_stats.json @@ -5,6 +5,10 @@ "description":"Returns global and policy-level statistics about actions taken by snapshot lifecycle management." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.get_status.json b/src/ApiGenerator/RestSpecification/XPack/slm.get_status.json index 38240243213..92ba1b4c321 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.get_status.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.get_status.json @@ -5,6 +5,10 @@ "description":"Retrieves the status of snapshot lifecycle management (SLM)." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.put_lifecycle.json b/src/ApiGenerator/RestSpecification/XPack/slm.put_lifecycle.json index 9f2b8fe1b23..7e7babb987c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.put_lifecycle.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.put_lifecycle.json @@ -5,6 +5,11 @@ "description":"Creates or updates a snapshot lifecycle policy." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.start.json b/src/ApiGenerator/RestSpecification/XPack/slm.start.json index 8d06c51d3e8..52ee7baa1c4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.start.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.start.json @@ -5,6 +5,10 @@ "description":"Turns on snapshot lifecycle management (SLM)." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/slm.stop.json b/src/ApiGenerator/RestSpecification/XPack/slm.stop.json index e35ec0aaa88..767ce6b6933 100644 --- a/src/ApiGenerator/RestSpecification/XPack/slm.stop.json +++ b/src/ApiGenerator/RestSpecification/XPack/slm.stop.json @@ -5,6 +5,10 @@ "description":"Turns off snapshot lifecycle management (SLM)." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/sql.clear_cursor.json b/src/ApiGenerator/RestSpecification/XPack/sql.clear_cursor.json index 7cef02fb887..26d4f039bc9 100644 --- a/src/ApiGenerator/RestSpecification/XPack/sql.clear_cursor.json +++ b/src/ApiGenerator/RestSpecification/XPack/sql.clear_cursor.json @@ -5,6 +5,11 @@ "description":"Clears the SQL cursor" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/sql.query.json b/src/ApiGenerator/RestSpecification/XPack/sql.query.json index f36ca0068ec..2cd1f9aca03 100644 --- a/src/ApiGenerator/RestSpecification/XPack/sql.query.json +++ b/src/ApiGenerator/RestSpecification/XPack/sql.query.json @@ -5,6 +5,11 @@ "description":"Executes a SQL request" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/sql.translate.json b/src/ApiGenerator/RestSpecification/XPack/sql.translate.json index 37a66bd25c9..09623c9bbae 100644 --- a/src/ApiGenerator/RestSpecification/XPack/sql.translate.json +++ b/src/ApiGenerator/RestSpecification/XPack/sql.translate.json @@ -5,6 +5,11 @@ "description":"Translates SQL into Elasticsearch queries" }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/ssl.certificates.json b/src/ApiGenerator/RestSpecification/XPack/ssl.certificates.json index 0dd7bce0104..233bc0882a8 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ssl.certificates.json +++ b/src/ApiGenerator/RestSpecification/XPack/ssl.certificates.json @@ -5,6 +5,10 @@ "description":"Retrieves information about the X.509 certificates used to encrypt communications in the cluster." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.delete_transform.json b/src/ApiGenerator/RestSpecification/XPack/transform.delete_transform.json index 7378f247135..0b0e2377bdf 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.delete_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.delete_transform.json @@ -5,6 +5,10 @@ "description":"Deletes an existing transform." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.get_transform.json b/src/ApiGenerator/RestSpecification/XPack/transform.get_transform.json index 69e87d97554..334537d49a7 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.get_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.get_transform.json @@ -5,6 +5,10 @@ "description":"Retrieves configuration information for transforms." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.get_transform_stats.json b/src/ApiGenerator/RestSpecification/XPack/transform.get_transform_stats.json index 1691d550da5..f425c41f099 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.get_transform_stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.get_transform_stats.json @@ -5,6 +5,10 @@ "description":"Retrieves usage information for transforms." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.preview_transform.json b/src/ApiGenerator/RestSpecification/XPack/transform.preview_transform.json index 83ecc006e9b..89636eb9070 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.preview_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.preview_transform.json @@ -5,6 +5,11 @@ "description":"Previews a transform." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.put_transform.json b/src/ApiGenerator/RestSpecification/XPack/transform.put_transform.json index 47ade4a0dd3..1e81629bd72 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.put_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.put_transform.json @@ -5,6 +5,11 @@ "description":"Instantiates a transform." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.start_transform.json b/src/ApiGenerator/RestSpecification/XPack/transform.start_transform.json index 9316e500d65..7c002957ea6 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.start_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.start_transform.json @@ -5,6 +5,10 @@ "description":"Starts one or more transforms." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.stop_transform.json b/src/ApiGenerator/RestSpecification/XPack/transform.stop_transform.json index 497219813b4..1beb8066c18 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.stop_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.stop_transform.json @@ -5,6 +5,10 @@ "description":"Stops one or more transforms." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/transform.update_transform.json b/src/ApiGenerator/RestSpecification/XPack/transform.update_transform.json index fe74376e833..c103570a944 100644 --- a/src/ApiGenerator/RestSpecification/XPack/transform.update_transform.json +++ b/src/ApiGenerator/RestSpecification/XPack/transform.update_transform.json @@ -5,6 +5,11 @@ "description":"Updates certain properties of a transform." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept":[ "application/json"], + "content_type":["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.ack_watch.json b/src/ApiGenerator/RestSpecification/XPack/watcher.ack_watch.json index 0b9126a8306..0c04888991f 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.ack_watch.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.ack_watch.json @@ -5,6 +5,10 @@ "description":"Acknowledges a watch, manually throttling the execution of the watch's actions." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.activate_watch.json b/src/ApiGenerator/RestSpecification/XPack/watcher.activate_watch.json index d0a892debee..698b08f3fdc 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.activate_watch.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.activate_watch.json @@ -5,6 +5,10 @@ "description":"Activates a currently inactive watch." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.deactivate_watch.json b/src/ApiGenerator/RestSpecification/XPack/watcher.deactivate_watch.json index 90385dfd0d4..e9b7407eb5c 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.deactivate_watch.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.deactivate_watch.json @@ -5,6 +5,10 @@ "description":"Deactivates a currently active watch." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.delete_watch.json b/src/ApiGenerator/RestSpecification/XPack/watcher.delete_watch.json index c42ec9cb010..9417a8a57b5 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.delete_watch.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.delete_watch.json @@ -5,6 +5,10 @@ "description":"Removes a watch from Watcher." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.execute_watch.json b/src/ApiGenerator/RestSpecification/XPack/watcher.execute_watch.json index 3704eb4aeda..a011669ce37 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.execute_watch.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.execute_watch.json @@ -5,6 +5,11 @@ "description":"Forces the execution of a stored watch." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.get_watch.json b/src/ApiGenerator/RestSpecification/XPack/watcher.get_watch.json index e81dcd7e389..26899aefc53 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.get_watch.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.get_watch.json @@ -5,6 +5,10 @@ "description":"Retrieves a watch by its ID." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.put_watch.json b/src/ApiGenerator/RestSpecification/XPack/watcher.put_watch.json index 6aa29c5f9ed..46258019893 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.put_watch.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.put_watch.json @@ -5,6 +5,11 @@ "description":"Creates a new watch, or updates an existing one." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.query_watches.json b/src/ApiGenerator/RestSpecification/XPack/watcher.query_watches.json new file mode 100644 index 00000000000..b730f66af36 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.query_watches.json @@ -0,0 +1,30 @@ +{ + "watcher.query_watches":{ + "documentation":{ + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html", + "description":"Retrieves stored watches." + }, + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, + "url":{ + "paths":[ + { + "path":"/_watcher/_query/watches", + "methods":[ + "GET", + "POST" + ] + } + ] + }, + "params":{}, + "body":{ + "description":"From, size, query, sort and search_after", + "required":false + } + } +} diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.start.json b/src/ApiGenerator/RestSpecification/XPack/watcher.start.json index eb393a25c1b..a7884a41198 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.start.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.start.json @@ -5,6 +5,10 @@ "description":"Starts Watcher if it is not already running." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.stats.json b/src/ApiGenerator/RestSpecification/XPack/watcher.stats.json index 75854017f0b..35e90cbd1cd 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.stats.json @@ -5,6 +5,10 @@ "description":"Retrieves the current Watcher metrics." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/watcher.stop.json b/src/ApiGenerator/RestSpecification/XPack/watcher.stop.json index c5014be0ab0..c3e85287767 100644 --- a/src/ApiGenerator/RestSpecification/XPack/watcher.stop.json +++ b/src/ApiGenerator/RestSpecification/XPack/watcher.stop.json @@ -5,6 +5,10 @@ "description":"Stops Watcher if it is running." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/xpack.info.json b/src/ApiGenerator/RestSpecification/XPack/xpack.info.json index b9fcd27aa26..c5977dacf36 100644 --- a/src/ApiGenerator/RestSpecification/XPack/xpack.info.json +++ b/src/ApiGenerator/RestSpecification/XPack/xpack.info.json @@ -5,6 +5,10 @@ "description":"Retrieves information about the installed X-Pack features." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/XPack/xpack.usage.json b/src/ApiGenerator/RestSpecification/XPack/xpack.usage.json index 2f99c477d2d..e01f40348ea 100644 --- a/src/ApiGenerator/RestSpecification/XPack/xpack.usage.json +++ b/src/ApiGenerator/RestSpecification/XPack/xpack.usage.json @@ -5,6 +5,10 @@ "description":"Retrieves usage information about the installed X-Pack features." }, "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/src/ApiGenerator/RestSpecification/_Patches/cat.tasks.patch.json b/src/ApiGenerator/RestSpecification/_Patches/cat.tasks.patch.json new file mode 100644 index 00000000000..ca5a5100d92 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/_Patches/cat.tasks.patch.json @@ -0,0 +1,8 @@ +{ + "cat.tasks": { + "stability" : "experimental", + "url": { + "path": "/_cat/tasks" + } + } +} \ No newline at end of file diff --git a/src/ApiGenerator/last_downloaded_version.txt b/src/ApiGenerator/last_downloaded_version.txt index b6445f0c6f7..01111bd74d0 100644 --- a/src/ApiGenerator/last_downloaded_version.txt +++ b/src/ApiGenerator/last_downloaded_version.txt @@ -1 +1 @@ -fb84b6710d5ee62c00f51cd041d7318691195fc3 \ No newline at end of file +8513510881a3f759492a3a6c62eefeee932dfe64 \ No newline at end of file diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Cat.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Cat.cs index c46792215ff..fd88cab4f47 100644 --- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Cat.cs +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Cat.cs @@ -1414,17 +1414,17 @@ public bool? Help /// A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're /// connecting to, leave empty to get information from all nodes /// - public string[] NodeId + public string[] Nodes { - get => Q("node_id"); - set => Q("node_id", value); + get => Q("nodes"); + set => Q("nodes", value); } - ///Return tasks with specified parent task id. Set to -1 to return all. - public long? ParentTask + ///Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all. + public string ParentTaskId { - get => Q("parent_task"); - set => Q("parent_task", value); + get => Q("parent_task_id"); + set => Q("parent_task_id", value); } ///Comma-separated list of column names or column aliases to sort by diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Indices.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Indices.cs index 885d09c699f..d1355f1b9a0 100644 --- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Indices.cs +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Indices.cs @@ -1078,6 +1078,13 @@ public TimeSpan MasterTimeout } } + ///Request options for MigrateToDataStream https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + public class MigrateToDataStreamRequestParameters : RequestParameters + { + public override HttpMethod DefaultHttpMethod => HttpMethod.POST; + public override bool SupportsBody => false; + } + ///Request options for Open https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html public class OpenIndexRequestParameters : RequestParameters { @@ -1129,6 +1136,13 @@ public string WaitForActiveShards } } + ///Request options for PromoteDataStream https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + public class PromoteDataStreamRequestParameters : RequestParameters + { + public override HttpMethod DefaultHttpMethod => HttpMethod.POST; + public override bool SupportsBody => false; + } + ///Request options for PutAlias https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html public class PutAliasRequestParameters : RequestParameters { diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Rollup.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Rollup.cs index ebd5f3b783a..ce6fedf8575 100644 --- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Rollup.cs +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Rollup.cs @@ -59,6 +59,13 @@ public class CreateRollupJobRequestParameters : RequestParameters true; } + ///Request options for Rollup https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html + public class RollupRequestParameters : RequestParameters + { + public override HttpMethod DefaultHttpMethod => HttpMethod.POST; + public override bool SupportsBody => true; + } + ///Request options for Search https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html public class RollupSearchRequestParameters : RequestParameters { diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Watcher.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Watcher.cs index 0da5f95c5f1..a946ab51e15 100644 --- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Watcher.cs +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Watcher.cs @@ -106,6 +106,13 @@ public long? Version } } + ///Request options for QueryWatches https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html + public class QueryWatchesRequestParameters : RequestParameters + { + public override HttpMethod DefaultHttpMethod => HttpMethod.POST; + public override bool SupportsBody => true; + } + ///Request options for Start https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html public class StartWatcherRequestParameters : RequestParameters { diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Cat.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Cat.cs index 82945af9688..99f3714cb64 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Cat.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Cat.cs @@ -383,10 +383,12 @@ public Task SnapshotsAsync(string repository, CatSnapshots where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, Url($"_cat/snapshots/{repository:repository}"), ctx, null, RequestParams(requestParameters)); ///GET on /_cat/tasks https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse Tasks(CatTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(GET, "_cat/tasks", null, RequestParams(requestParameters)); ///GET on /_cat/tasks https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("cat.tasks", "")] public Task TasksAsync(CatTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, "_cat/tasks", ctx, null, RequestParams(requestParameters)); diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Eql.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Eql.cs index 100ebdd4222..b5af9a37043 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Eql.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Eql.cs @@ -46,26 +46,22 @@ internal LowLevelEqlNamespace(ElasticLowLevelClient client): base(client) ///DELETE on /_eql/search/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html ///The async search ID ///Request specific configuration such as querystring parameters & request specific connection settings. - ///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse Delete(string id, DeleteRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(DELETE, Url($"_eql/search/{id:id}"), null, RequestParams(requestParameters)); ///DELETE on /_eql/search/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html ///The async search ID ///Request specific configuration such as querystring parameters & request specific connection settings. - ///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("eql.delete", "id")] public Task DeleteAsync(string id, DeleteRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(DELETE, Url($"_eql/search/{id:id}"), ctx, null, RequestParams(requestParameters)); ///GET on /_eql/search/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html ///The async search ID ///Request specific configuration such as querystring parameters & request specific connection settings. - ///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse Get(string id, GetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(GET, Url($"_eql/search/{id:id}"), null, RequestParams(requestParameters)); ///GET on /_eql/search/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html ///The async search ID ///Request specific configuration such as querystring parameters & request specific connection settings. - ///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("eql.get", "id")] public Task GetAsync(string id, GetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, Url($"_eql/search/{id:id}"), ctx, null, RequestParams(requestParameters)); @@ -73,14 +69,12 @@ public Task GetAsync(string id, GetRequestParameters reque ///The name of the index to scope the operation ///Eql request body. Use the `query` to limit the query scope. ///Request specific configuration such as querystring parameters & request specific connection settings. - ///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse Search(string index, PostData body, SearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, Url($"{index:index}/_eql/search"), body, RequestParams(requestParameters)); ///POST on /{index}/_eql/search https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html ///The name of the index to scope the operation ///Eql request body. Use the `query` to limit the query scope. ///Request specific configuration such as querystring parameters & request specific connection settings. - ///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("eql.search", "index, body")] public Task SearchAsync(string index, PostData body, SearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, Url($"{index:index}/_eql/search"), ctx, body, RequestParams(requestParameters)); diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Indices.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Indices.cs index 7afae619a48..54aad9c4f9b 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Indices.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Indices.cs @@ -635,6 +635,17 @@ public TResponse GetTemplateForAll(string name, GetIndexTemplateReque [MapsApi("indices.get_template", "name")] public Task GetTemplateForAllAsync(string name, GetIndexTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, Url($"_template/{name:name}"), ctx, null, RequestParams(requestParameters)); + ///POST on /_data_stream/_migrate/{name} https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + ///The name of the alias to migrate + ///Request specific configuration such as querystring parameters & request specific connection settings. + public TResponse MigrateToDataStreamForAll(string name, MigrateToDataStreamRequestParameters requestParameters = null) + where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, Url($"_data_stream/_migrate/{name:name}"), null, RequestParams(requestParameters)); + ///POST on /_data_stream/_migrate/{name} https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + ///The name of the alias to migrate + ///Request specific configuration such as querystring parameters & request specific connection settings. + [MapsApi("indices.migrate_to_data_stream", "name")] + public Task MigrateToDataStreamForAllAsync(string name, MigrateToDataStreamRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, Url($"_data_stream/_migrate/{name:name}"), ctx, null, RequestParams(requestParameters)); ///POST on /{index}/_open https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html ///A comma separated list of indices to open ///Request specific configuration such as querystring parameters & request specific connection settings. @@ -646,6 +657,17 @@ public TResponse Open(string index, OpenIndexRequestParameters reques [MapsApi("indices.open", "index")] public Task OpenAsync(string index, OpenIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, Url($"{index:index}/_open"), ctx, null, RequestParams(requestParameters)); + ///POST on /_data_stream/_promote/{name} https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + ///The name of the data stream + ///Request specific configuration such as querystring parameters & request specific connection settings. + public TResponse PromoteDataStreamForAll(string name, PromoteDataStreamRequestParameters requestParameters = null) + where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, Url($"_data_stream/_promote/{name:name}"), null, RequestParams(requestParameters)); + ///POST on /_data_stream/_promote/{name} https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + ///The name of the data stream + ///Request specific configuration such as querystring parameters & request specific connection settings. + [MapsApi("indices.promote_data_stream", "name")] + public Task PromoteDataStreamForAllAsync(string name, PromoteDataStreamRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, Url($"_data_stream/_promote/{name:name}"), ctx, null, RequestParams(requestParameters)); ///PUT on /{index}/_alias/{name} https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html ///A comma-separated list of index names the alias should point to (supports wildcards); use `_all` to perform the operation on all indices. ///The name of the alias to be created or updated diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Rollup.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Rollup.cs index 755ab2f4bcc..fb840b7d69c 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Rollup.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Rollup.cs @@ -132,6 +132,21 @@ public TResponse CreateJob(string id, PostData body, CreateRollupJobR [MapsApi("rollup.put_job", "id, body")] public Task CreateJobAsync(string id, PostData body, CreateRollupJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(PUT, Url($"_rollup/job/{id:id}"), ctx, body, RequestParams(requestParameters)); + ///POST on /{index}/_rollup/{rollup_index} https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html + ///The index to roll up + ///The name of the rollup index to create + ///The rollup configuration + ///Request specific configuration such as querystring parameters & request specific connection settings. + public TResponse Rollup(string index, string rollupIndex, PostData body, RollupRequestParameters requestParameters = null) + where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, Url($"{index:index}/_rollup/{rollupIndex:rollupIndex}"), body, RequestParams(requestParameters)); + ///POST on /{index}/_rollup/{rollup_index} https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-api.html + ///The index to roll up + ///The name of the rollup index to create + ///The rollup configuration + ///Request specific configuration such as querystring parameters & request specific connection settings. + [MapsApi("rollup.rollup", "index, rollup_index, body")] + public Task RollupAsync(string index, string rollupIndex, PostData body, RollupRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, Url($"{index:index}/_rollup/{rollupIndex:rollupIndex}"), ctx, body, RequestParams(requestParameters)); ///POST on /{index}/_rollup_search https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html ///The indices or index-pattern(s) (containing rollup or regular data) that should be searched ///The search request body diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Tasks.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Tasks.cs index ca74d49b3ce..730a93a0d31 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Tasks.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Tasks.cs @@ -45,41 +45,49 @@ internal LowLevelTasksNamespace(ElasticLowLevelClient client): base(client) ///POST on /_tasks/_cancel https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse Cancel(CancelTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, "_tasks/_cancel", null, RequestParams(requestParameters)); ///POST on /_tasks/_cancel https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("tasks.cancel", "")] public Task CancelAsync(CancelTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, "_tasks/_cancel", ctx, null, RequestParams(requestParameters)); ///POST on /_tasks/{task_id}/_cancel https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Cancel the task with specified task id (node_id:task_number) ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse Cancel(string taskId, CancelTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, Url($"_tasks/{taskId:taskId}/_cancel"), null, RequestParams(requestParameters)); ///POST on /_tasks/{task_id}/_cancel https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Cancel the task with specified task id (node_id:task_number) ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("tasks.cancel", "task_id")] public Task CancelAsync(string taskId, CancelTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, Url($"_tasks/{taskId:taskId}/_cancel"), ctx, null, RequestParams(requestParameters)); ///GET on /_tasks/{task_id} https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Return the task with specified id (node_id:task_number) ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse GetTask(string taskId, GetTaskRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(GET, Url($"_tasks/{taskId:taskId}"), null, RequestParams(requestParameters)); ///GET on /_tasks/{task_id} https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Return the task with specified id (node_id:task_number) ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("tasks.get", "task_id")] public Task GetTaskAsync(string taskId, GetTaskRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, Url($"_tasks/{taskId:taskId}"), ctx, null, RequestParams(requestParameters)); ///GET on /_tasks https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. public TResponse List(ListTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new() => DoRequest(GET, "_tasks", null, RequestParams(requestParameters)); ///GET on /_tasks https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html ///Request specific configuration such as querystring parameters & request specific connection settings. + ///Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded. [MapsApi("tasks.list", "")] public Task ListAsync(ListTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, "_tasks", ctx, null, RequestParams(requestParameters)); diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Watcher.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Watcher.cs index 366325cac72..d340693a249 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Watcher.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Watcher.cs @@ -148,6 +148,17 @@ public TResponse Put(string id, PostData body, PutWatchRequestParamet [MapsApi("watcher.put_watch", "id, body")] public Task PutAsync(string id, PostData body, PutWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(PUT, Url($"_watcher/watch/{id:id}"), ctx, body, RequestParams(requestParameters)); + ///POST on /_watcher/_query/watches https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html + ///From, size, query, sort and search_after + ///Request specific configuration such as querystring parameters & request specific connection settings. + public TResponse QueryWatches(PostData body, QueryWatchesRequestParameters requestParameters = null) + where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, "_watcher/_query/watches", body, RequestParams(requestParameters)); + ///POST on /_watcher/_query/watches https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-query-watches.html + ///From, size, query, sort and search_after + ///Request specific configuration such as querystring parameters & request specific connection settings. + [MapsApi("watcher.query_watches", "body")] + public Task QueryWatchesAsync(PostData body, QueryWatchesRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, "_watcher/_query/watches", ctx, body, RequestParams(requestParameters)); ///POST on /_watcher/_start https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html ///Request specific configuration such as querystring parameters & request specific connection settings. public TResponse Start(StartWatcherRequestParameters requestParameters = null)