OpenSearch/rest-api-spec/api/snapshot.get_repository.json

28 lines
806 B
JSON

{
"snapshot.get_repository": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
"methods": ["GET"],
"url": {
"path": "/_snapshot",
"paths": ["/_snapshot", "/_snapshot/{repository}"],
"parts": {
"repository": {
"type": "list",
"description": "A comma-separated list of repository names"
}
},
"params": {
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
},
"local": {
"type": "boolean",
"description": "Return local information, do not retrieve the state from master node (default: false)"
}
}
},
"body": null
}
}