Skip to content

Commit 2ded02b

Browse files
committed
[es] update generated code
1 parent 7b7abf6 commit 2ded02b

File tree

396 files changed

+16242
-3294
lines changed

Some content is hidden

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

396 files changed

+16242
-3294
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
{
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"autoscaling.get_autoscaling_capacity":{
3+
"documentation":{
4+
"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. 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+
},
12+
"url":{
13+
"paths":[
14+
{
15+
"path":"/_autoscaling/capacity",
16+
"methods":[
17+
"GET"
18+
]
19+
}
20+
]
21+
}
22+
}
23+
}

api_generator/rest_specs/autoscaling.get_autoscaling_decision.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

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
{

0 commit comments

Comments
 (0)