File tree Expand file tree Collapse file tree 1 file changed +36
-26
lines changed
rest-api-spec/src/main/resources/rest-api-spec/api Expand file tree Collapse file tree 1 file changed +36
-26
lines changed Original file line number Diff line number Diff line change 11{
22 "indices.clone" : {
3- "documentation" : " http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" ,
3+ "documentation" : {
4+ "url" : " https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html" ,
5+ "description" : " Clones an index"
6+ },
47 "stability" : " stable" ,
5- "methods" : [" PUT" , " POST" ],
68 "url" : {
7- "paths" : [" /{index}/_clone/{target}" ],
8- "parts" : {
9- "index" : {
10- "type" : " string" ,
11- "required" : true ,
12- "description" : " The name of the source index to clone"
13- },
14- "target" : {
15- "type" : " string" ,
16- "required" : true ,
17- "description" : " The name of the target index to clone into"
9+ "paths" : [
10+ {
11+ "path" : " /{index}/_clone/{target}" ,
12+ "methods" : [
13+ " PUT" ,
14+ " POST"
15+ ],
16+ "parts" : {
17+ "index" : {
18+ "type" : " string" ,
19+ "required" : true ,
20+ "description" : " The name of the source index to clone"
21+ },
22+ "target" : {
23+ "type" : " string" ,
24+ "required" : true ,
25+ "description" : " The name of the target index to clone into"
26+ }
27+ }
1828 }
29+ ]
30+ },
31+ "params" : {
32+ "timeout" : {
33+ "type" : " time" ,
34+ "description" : " Explicit operation timeout"
1935 },
20- "params" : {
21- "timeout" : {
22- "type" : " time" ,
23- "description" : " Explicit operation timeout"
24- },
25- "master_timeout" : {
26- "type" : " time" ,
27- "description" : " Specify timeout for connection to master"
28- },
29- "wait_for_active_shards" : {
30- "type" : " string" ,
31- "description" : " Set the number of active shards to wait for on the cloned index before the operation returns."
32- }
36+ "master_timeout" : {
37+ "type" : " time" ,
38+ "description" : " Specify timeout for connection to master"
39+ },
40+ "wait_for_active_shards" : {
41+ "type" : " string" ,
42+ "description" : " Set the number of active shards to wait for on the cloned index before the operation returns."
3343 }
3444 },
3545 "body" : {
You can’t perform that action at this time.
0 commit comments