Skip to content

Commit 7cb276c

Browse files
authored
Update specs to 7.6.0 and generate client (#58)
1 parent cb65ed9 commit 7cb276c

Some content is hidden

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

53 files changed

+1016
-550
lines changed

api_generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "api_generator"
3-
version = "7.5.2-alpha.1"
3+
version = "7.6.0-alpha.1"
44
description = "Generates source code for elasticsearch package, from the Elasticsearch REST API specs"
55
authors = ["Elastic and Contributors"]
66
edition = "2018"

api_generator/last_downloaded_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v7.5.2
1+
v7.6.0

api_generator/rest_specs/bulk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"false",
5959
"wait_for"
6060
],
61-
"description":"If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
61+
"description":"If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
6262
},
6363
"routing":{
6464
"type":"string",

api_generator/rest_specs/cat.indices.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,15 @@
3838
"options":[
3939
"b",
4040
"k",
41+
"kb",
4142
"m",
42-
"g"
43+
"mb",
44+
"g",
45+
"gb",
46+
"t",
47+
"tb",
48+
"p",
49+
"pb"
4350
]
4451
},
4552
"local":{

api_generator/rest_specs/cat.nodes.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@
4343
},
4444
"local":{
4545
"type":"boolean",
46-
"description":"Return local information, do not retrieve the state from master node (default: false)"
46+
"description":"Calculate the selected nodes using the local cluster state rather than the state from master node (default: false)",
47+
"deprecated":{
48+
"version":"7.6.0",
49+
"description":"This parameter does not cause this API to act locally."
50+
}
4751
},
4852
"master_timeout":{
4953
"type":"time",

api_generator/rest_specs/delete.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"false",
6363
"wait_for"
6464
],
65-
"description":"If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
65+
"description":"If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
6666
},
6767
"routing":{
6868
"type":"string",
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"get_script_context":{
3+
"documentation":{
4+
"description":"Returns all script contexts."
5+
},
6+
"stability":"experimental",
7+
"url":{
8+
"paths":[
9+
{
10+
"path":"/_script_context",
11+
"methods":[
12+
"GET"
13+
]
14+
}
15+
]
16+
},
17+
"params":{}
18+
}
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"get_script_languages":{
3+
"documentation":{
4+
"description":"Returns available script types, languages and contexts"
5+
},
6+
"stability":"experimental",
7+
"url":{
8+
"paths":[
9+
{
10+
"path":"/_script_language",
11+
"methods":[
12+
"GET"
13+
]
14+
}
15+
]
16+
},
17+
"params":{}
18+
}
19+
}

api_generator/rest_specs/indices.flush_synced.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"indices.flush_synced":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html",
5-
"description":"Performs a synced flush operation on one or more indices."
5+
"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"
66
},
77
"stability":"stable",
88
"url":{

api_generator/rest_specs/indices.put_mapping.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url":{
99
"paths":[
1010
{
11-
"path":"{index}/_mapping",
11+
"path":"/{index}/_mapping",
1212
"methods":[
1313
"PUT",
1414
"POST"

0 commit comments

Comments
 (0)