2014-01-16 07:49:24 -05:00
|
|
|
{
|
2014-01-16 13:48:14 -05:00
|
|
|
"snapshot.restore": {
|
2015-03-24 12:03:35 -04:00
|
|
|
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html",
|
2014-01-16 07:49:24 -05:00
|
|
|
"methods": ["POST"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_snapshot/{repository}/{snapshot}/_restore",
|
|
|
|
"paths": ["/_snapshot/{repository}/{snapshot}/_restore"],
|
|
|
|
"parts": {
|
|
|
|
"repository": {
|
|
|
|
"type": "string",
|
2014-01-20 05:03:03 -05:00
|
|
|
"required" : true,
|
2014-01-16 07:49:24 -05:00
|
|
|
"description": "A repository name"
|
|
|
|
},
|
|
|
|
"snapshot": {
|
|
|
|
"type": "string",
|
2014-01-20 05:03:03 -05:00
|
|
|
"required" : true,
|
2014-01-16 07:49:24 -05:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2014-01-17 09:33:13 -05:00
|
|
|
"body" : {
|
2014-01-16 07:49:24 -05:00
|
|
|
"description" : "Details of what to restore",
|
|
|
|
"required" : false
|
2014-01-17 09:33:13 -05:00
|
|
|
}
|
2014-01-16 07:49:24 -05:00
|
|
|
}
|
|
|
|
}
|