-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Closed
Copy link
Labels
:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>bug>docsGeneral docs changesGeneral docs changesTeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.Team:DocsMeta label for docs teamMeta label for docs teamv7.13.4
Description
Elasticsearch version (bin/elasticsearch --version): 7.13.4
Description of the problem including expected versus actual behavior:
The documentation for the GET Snapshot API states for its path parameters:
GET /_snapshot/<repository>/<snapshot>
<repository>
(Required, string) Snapshot repository name used to limit the request.
To get information about all snapshot repositories registered in the cluster, omit this parameter or use * or _all.
<snapshot>
(Required, string) Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*).
To get information about all snapshots in a registered repository, use a wildcard (*) or _all.
However trying to retrieve all snapshots from all repositories does not work.
Steps to reproduce:
GET _snapshot/_all/_all
returns
{
"error" : {
"root_cause" : [
{
"type" : "repository_missing_exception",
"reason" : "[_all] missing"
}
],
"type" : "repository_missing_exception",
"reason" : "[_all] missing"
},
"status" : 404
}Either this is a bug, or maybe the documentation needs to state that this is not supported.
Metadata
Metadata
Assignees
Labels
:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>bug>docsGeneral docs changesGeneral docs changesTeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.Team:DocsMeta label for docs teamMeta label for docs teamv7.13.4