34 lines
1020 B
JSON
34 lines
1020 B
JSON
{
|
|
"cluster.restore_snapshot": {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
|
|
"methods": ["POST"],
|
|
"url": {
|
|
"path": "/_snapshot/{repository}/{snapshot}/_restore",
|
|
"paths": ["/_snapshot/{repository}/{snapshot}/_restore"],
|
|
"parts": {
|
|
"repository": {
|
|
"type": "string",
|
|
"description": "A repository name"
|
|
},
|
|
"snapshot": {
|
|
"type": "string",
|
|
"description": "A snapshot name"
|
|
}
|
|
},
|
|
"params": {
|
|
"master_timeout": {
|
|
"type" : "time",
|
|
"description" : "Explicit operation timeout for connection to master node"
|
|
},
|
|
"wait_for_completion": {
|
|
"type": "boolean",
|
|
"description": "Should this request wait until the operation has completed before returning",
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"description" : "Details of what to restore",
|
|
"required" : false
|
|
}
|
|
}
|