2014-01-16 07:49:24 -05:00
|
|
|
{
|
2014-01-16 13:48:14 -05:00
|
|
|
"snapshot.create_repository": {
|
2014-01-16 07:49:24 -05:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
|
|
|
|
"methods": ["PUT", "POST"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_snapshot/{repository}",
|
|
|
|
"paths": ["/_snapshot/{repository}"],
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
|
|
|
"master_timeout": {
|
|
|
|
"type" : "time",
|
|
|
|
"description" : "Explicit operation timeout for connection to master node"
|
|
|
|
},
|
|
|
|
"timeout": {
|
|
|
|
"type" : "time",
|
|
|
|
"description" : "Explicit operation timeout"
|
2014-09-10 21:49:15 -04:00
|
|
|
},
|
|
|
|
"verify": {
|
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Whether to verify the repository after creation"
|
2014-01-16 07:49:24 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2014-01-17 09:33:13 -05:00
|
|
|
"body": {
|
2014-01-16 07:49:24 -05:00
|
|
|
"description" : "The repository definition",
|
|
|
|
"required" : true
|
2014-01-17 09:33:13 -05:00
|
|
|
}
|
2014-01-16 07:49:24 -05:00
|
|
|
}
|
|
|
|
}
|