OpenSearch/rest-api-spec/api/cluster.create_repository.json

29 lines
792 B
JSON
Raw Normal View History

{
2014-01-16 10:32:21 -05:00
"cluster.create_repository": {
"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",
"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"
}
}
},
"description" : "The repository definition",
"required" : true
}
}