Skip to content

Update generated low-level client code for 7.11 #5199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion src/ApiGenerator/Domain/Code/CsharpNames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ string Replace(string original, string ns, string find, string replace, string[]

var namespaceRenames = new Dictionary<string, (string find, string replace, string[] exceptions)>
{
{ "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]) },
Expand Down
5 changes: 5 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/bulk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.aliases.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.allocation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.count.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.fielddata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.health.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.help.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns help for the Cat APIs."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain" ]
},
"url":{
"paths":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.indices.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.master.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns information about the master node."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
"url":{
"paths":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.nodeattrs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns information about custom node attributes."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
"url":{
"paths":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.nodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.recovery.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.repositories.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.segments.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.shards.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.snapshots.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns all snapshots in a specific repository."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
"url":{
"paths":[
{
Expand Down
12 changes: 8 additions & 4 deletions src/ApiGenerator/RestSpecification/Core/cat.tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand All @@ -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"
},
Expand All @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns information about existing templates."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
"url":{
"paths":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cat.thread_pool.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
5 changes: 5 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/clear_scroll.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Deletes a component template"
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Clears cluster voting config exclusions."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns information about whether a particular component template exist"
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns one or more component templates"
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns cluster settings."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
Expand Down
4 changes: 4 additions & 0 deletions src/ApiGenerator/RestSpecification/Core/cluster.health.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description":"Returns basic information about the health of the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
"url":{
"paths":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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":[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"description":"Updates the cluster settings."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
},
"url":{
"paths":[
{
Expand Down
Loading