-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathsnapshot.clone.json
46 lines (46 loc) · 1.28 KB
/
snapshot.clone.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"snapshot.clone": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html",
"description": "Clones indices from one snapshot into another snapshot in the same repository."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}",
"methods": ["PUT"],
"parts": {
"repository": {
"type": "string",
"description": "A repository name"
},
"snapshot": {
"type": "string",
"description": "The name of the snapshot to clone from"
},
"target_snapshot": {
"type": "string",
"description": "The name of the cloned snapshot to create"
}
}
}
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
}
},
"body": {
"description": "The snapshot clone definition",
"required": true
}
}
}