[DOCS] Correct cat snapshots API request example (#50274)

For 7.x and earlier branches, `_cat/repositories` API requests require a
repository name.

This removes an erroneous request example without a repository name
added with a8e0275.
This commit is contained in:
James Rodewig 2019-12-17 09:23:38 -05:00 committed by GitHub
parent 37b8c139b3
commit 99fdea50dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -13,8 +13,6 @@ more repositories. A snapshot is a backup of an index or running {es} cluster.
`GET /_cat/snapshots/<repository>` `GET /_cat/snapshots/<repository>`
`GET /_cat/snapshots`
[[cat-snapshots-path-params]] [[cat-snapshots-path-params]]
==== {api-path-parms-title} ==== {api-path-parms-title}
@ -22,10 +20,9 @@ more repositories. A snapshot is a backup of an index or running {es} cluster.
`<repository>`:: `<repository>`::
+ +
-- --
(Optional, string) Comma-separated list of snapshot repositories used to limit (Required, string) Snapshot repository used to limit the request.
the request. Accepts wildcard expressions. `_all` returns all repositories.
If any repository fails during the request, {es} returns an error. If the repository fails during the request, {es} returns an error.
-- --