Skip to content

Commit 47064c2

Browse files
committed
Update specs & generated code
1 parent 135c8b5 commit 47064c2

File tree

380 files changed

+15100
-2671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

380 files changed

+15100
-2671
lines changed

api_generator/rest_specs/async_search.delete.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"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."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/async_search.get.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description": "Retrieves the results of a previously submitted async search request given its ID."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"async_search.status":{
3+
"documentation":{
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html",
5+
"description": "Retrieves the status of a previously submitted async search request given its ID."
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
11+
},
12+
"url":{
13+
"paths":[
14+
{
15+
"path":"/_async_search/status/{id}",
16+
"methods":[
17+
"GET"
18+
],
19+
"parts":{
20+
"id":{
21+
"type":"string",
22+
"description":"The async search ID"
23+
}
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}

api_generator/rest_specs/async_search.submit.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"description": "Executes a search request asynchronously."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
12+
},
813
"url":{
914
"paths":[
1015
{

api_generator/rest_specs/autoscaling.delete_autoscaling_policy.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"autoscaling.delete_autoscaling_policy":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html",
5-
"description":"Deletes an autoscaling policy."
5+
"description":"Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
611
},
7-
"stability":"experimental",
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/autoscaling.get_autoscaling_capacity.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"autoscaling.get_autoscaling_capacity":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html",
5-
"description": "Gets the current autoscaling capacity based on the configured autoscaling policy."
5+
"description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
611
},
7-
"stability":"experimental",
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/autoscaling.get_autoscaling_policy.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"autoscaling.get_autoscaling_policy":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html",
5-
"description": "Retrieves an autoscaling policy."
5+
"description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
611
},
7-
"stability":"experimental",
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/autoscaling.put_autoscaling_policy.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22
"autoscaling.put_autoscaling_policy":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html",
5-
"description": "Creates a new autoscaling policy."
5+
"description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
612
},
7-
"stability":"experimental",
813
"url":{
914
"paths":[
1015
{

api_generator/rest_specs/bulk.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"description":"Allows to perform multiple index/update/delete operations in a single request."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"],
11+
"content_type": ["application/x-ndjson"]
12+
},
813
"url":{
914
"paths":[
1015
{

api_generator/rest_specs/cat.aliases.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Shows information about currently configured aliases to indices including filter and routing infos."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.allocation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.count.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Provides quick access to the document count of the entire cluster, or individual indices."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.fielddata.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Shows how much heap memory is currently being used by fielddata on every data node in the cluster."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.health.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns a concise representation of the cluster health."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.help.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns help for the Cat APIs."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain" ]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.indices.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns information about indices: number of primaries and replicas, document counts, disk size, ..."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{
@@ -49,10 +53,6 @@
4953
"pb"
5054
]
5155
},
52-
"local":{
53-
"type":"boolean",
54-
"description":"Return local information, do not retrieve the state from master node (default: false)"
55-
},
5656
"master_timeout":{
5757
"type":"time",
5858
"description":"Explicit operation timeout for connection to master node"

api_generator/rest_specs/cat.master.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns information about the master node."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.ml_data_frame_analytics.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description": "Gets configuration and usage information about data frame analytics jobs."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.ml_datafeeds.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description": "Gets configuration and usage information about datafeeds."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.ml_jobs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description": "Gets configuration and usage information about anomaly detection jobs."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.ml_trained_models.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description": "Gets configuration and usage information about inference trained models."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.nodeattrs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns information about custom node attributes."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.nodes.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns basic statistics about performance of cluster nodes."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.pending_tasks.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns a concise representation of the cluster pending tasks."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.plugins.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns information about installed plugins across nodes node."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{
@@ -37,6 +41,11 @@
3741
"description":"Return help information",
3842
"default":false
3943
},
44+
"include_bootstrap":{
45+
"type":"boolean",
46+
"description":"Include bootstrap plugins in the response",
47+
"default":false
48+
},
4049
"s":{
4150
"type":"list",
4251
"description":"Comma-separated list of column names or column aliases to sort by"

api_generator/rest_specs/cat.recovery.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns information about index shard recoveries, both on-going completed."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.repositories.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Returns information about snapshot repositories registered in the cluster."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.segments.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Provides low-level information about the segments in the shards of an index."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{

api_generator/rest_specs/cat.shards.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description":"Provides a detailed view of shard allocation on nodes."
66
},
77
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "text/plain", "application/json"]
11+
},
812
"url":{
913
"paths":[
1014
{
@@ -49,10 +53,6 @@
4953
"pb"
5054
]
5155
},
52-
"local":{
53-
"type":"boolean",
54-
"description":"Return local information, do not retrieve the state from master node (default: false)"
55-
},
5656
"master_timeout":{
5757
"type":"time",
5858
"description":"Explicit operation timeout for connection to master node"

0 commit comments

Comments
 (0)