mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
Added base TransportAction class for master read operations that execute locally or not depending on the request class (local flag). Added support for local flag where missing, in a backwards compatible manner: - IndicesExistsRequest - GetAliasesRequest (get alias api, aliases exist api) - TypesExistsRequest - GetIndexTemplatesRequest (get template, template exists) - GetSettingsRequest - GetRepositoriesRequest - PendingClusterTasks Added parsing of the local flag where missing in Rest*Action. Updated SPEC adding local flag param where missing and added REST tests that contain use of the local flag where it was just added. Closes #3345
28 lines
806 B
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
|
|
}
|
|
}
|