Skip to content

Commit cd4a1cb

Browse files
Mpdreamzrusscam
authored andcommitted
6.4 updated rest spec files
(cherry picked from commit 8e1e826)
1 parent b77c081 commit cd4a1cb

File tree

7 files changed

+24
-10
lines changed

7 files changed

+24
-10
lines changed

src/CodeGeneration/ApiGenerator/RestSpecification/Core/get_script.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
}
1414
},
1515
"params" : {
16+
"master_timeout": {
17+
"type" : "time",
18+
"description" : "Specify timeout for connection to master"
19+
}
1620
}
1721
},
1822
"body": null

src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.analyze.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@
1515
"index": {
1616
"type" : "string",
1717
"description" : "The name of the index to scope the operation"
18-
},
19-
"prefer_local": {
20-
"type" : "boolean",
21-
"description" : "With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)"
22-
},
23-
"format": {
24-
"type": "enum",
25-
"options" : ["detailed","text"],
26-
"default": "detailed",
27-
"description": "Format of the output"
2818
}
2919
}
3020
},

src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
"type": "boolean",
4040
"description": "Whether to return all default setting for each of the indices.",
4141
"default": false
42+
},
43+
"master_timeout": {
44+
"type" : "time",
45+
"description" : "Specify timeout for connection to master"
4246
}
4347
}
4448
},

src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_mapping.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
"default" : "open",
3131
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
3232
},
33+
"master_timeout": {
34+
"type" : "time",
35+
"description" : "Specify timeout for connection to master"
36+
},
3337
"local": {
3438
"type": "boolean",
3539
"description": "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.get_settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
}
1717
},
1818
"params": {
19+
"master_timeout": {
20+
"type": "time",
21+
"description": "Specify timeout for connection to master"
22+
},
1923
"ignore_unavailable": {
2024
"type" : "boolean",
2125
"description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"

src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.shrink.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
}
1919
},
2020
"params": {
21+
"copy_settings": {
22+
"type" : "boolean",
23+
"description" : "whether or not to copy settings from the source index (defaults to false)"
24+
},
2125
"timeout": {
2226
"type" : "time",
2327
"description" : "Explicit operation timeout"

src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.split.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
}
1919
},
2020
"params": {
21+
"copy_settings": {
22+
"type" : "boolean",
23+
"description" : "whether or not to copy settings from the source index (defaults to false)"
24+
},
2125
"timeout": {
2226
"type" : "time",
2327
"description" : "Explicit operation timeout"

0 commit comments

Comments
 (0)