OpenSearch/rest-api-spec/api/snapshot.create_repository....

29 lines
793 B
JSON

{
"snapshot.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
}
}