OpenSearch/rest-api-spec/api/cluster.repositories.put.json

29 lines
791 B
JSON

{
"cluster.repositories.put": {
"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
}
}