Skip to content

Commit 2c943a1

Browse files
authored
Regnerate low-level client code (#5323)
1 parent 78a0933 commit 2c943a1

24 files changed

+523
-174
lines changed

src/ApiGenerator/RestSpecification/Core/search.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@
230230
"type":"boolean",
231231
"description":"Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
232232
"default":false
233+
},
234+
"min_compatible_shard_node":{
235+
"type":"string",
236+
"description":"The minimum compatible version that all shards involved in search should have for this request to be successful"
233237
}
234238
},
235239
"body":{

src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
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."
66
},
7-
"stability":"experimental",
8-
"visibility":"feature_flag",
9-
"feature_flag":"es.autoscaling_feature_flag_registered",
7+
"stability":"stable",
8+
"visibility":"public",
109
"headers":{
1110
"accept": [ "application/json"]
1211
},

src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
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."
66
},
7-
"stability":"experimental",
8-
"visibility":"feature_flag",
9-
"feature_flag":"es.autoscaling_feature_flag_registered",
7+
"stability":"stable",
8+
"visibility":"public",
109
"headers":{
1110
"accept": [ "application/json"]
1211
},

src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
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."
66
},
7-
"stability":"experimental",
8-
"visibility":"feature_flag",
9-
"feature_flag":"es.autoscaling_feature_flag_registered",
7+
"stability":"stable",
8+
"visibility":"public",
109
"headers":{
1110
"accept": [ "application/json"]
1211
},

src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
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."
66
},
7-
"stability":"experimental",
8-
"visibility":"feature_flag",
9-
"feature_flag":"es.autoscaling_feature_flag_registered",
7+
"stability":"stable",
8+
"visibility":"public",
109
"headers":{
1110
"accept": [ "application/json"],
1211
"content_type": ["application/json"]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"logstash.delete_pipeline":{
3+
"documentation":{
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html",
5+
"description":"Deletes Logstash Pipelines used by Central Management"
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
11+
},
12+
"url":{
13+
"paths":[
14+
{
15+
"path":"/_logstash/pipeline/{id}",
16+
"methods":[ "DELETE" ],
17+
"parts":{
18+
"id":{
19+
"type":"string",
20+
"description":"The ID of the Pipeline"
21+
}
22+
}
23+
}
24+
]
25+
},
26+
"params":{}
27+
}
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"logstash.get_pipeline":{
3+
"documentation":{
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html",
5+
"description":"Retrieves Logstash Pipelines used by Central Management"
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"]
11+
},
12+
"url":{
13+
"paths":[
14+
{
15+
"path":"/_logstash/pipeline/{id}",
16+
"methods":[ "GET" ],
17+
"parts":{
18+
"id":{
19+
"type":"string",
20+
"description":"A comma-separated list of Pipeline IDs"
21+
}
22+
}
23+
}
24+
]
25+
},
26+
"params":{}
27+
}
28+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"logstash.put_pipeline":{
3+
"documentation":{
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html",
5+
"description":"Adds and updates Logstash Pipelines used for Central Management"
6+
},
7+
"stability":"stable",
8+
"visibility":"public",
9+
"headers":{
10+
"accept": [ "application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url":{
14+
"paths":[
15+
{
16+
"path":"/_logstash/pipeline/{id}",
17+
"methods":[ "PUT" ],
18+
"parts":{
19+
"id":{
20+
"type":"string",
21+
"description":"The ID of the Pipeline"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"params":{
28+
},
29+
"body":{
30+
"description":"The Pipeline to add or update",
31+
"required":true
32+
}
33+
}
34+
}

src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
"type":"boolean",
4040
"description":"Should this request wait until the operation has completed before returning",
4141
"default":false
42+
},
43+
"storage":{
44+
"type":"string",
45+
"description":"Selects the kind of local storage used to accelerate searches. Experimental, and defaults to `full_copy`",
46+
"default":false
4247
}
4348
},
4449
"body":{

src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@
3030
}
3131
}
3232
]
33+
},
34+
"params": {
35+
"level":{
36+
"type":"enum",
37+
"description":"Return stats aggregated at cluster, index or shard level",
38+
"options":[
39+
"cluster",
40+
"indices",
41+
"shards"
42+
],
43+
"default":"indices"
44+
}
3345
}
3446
}
3547
}

0 commit comments

Comments
 (0)