From 99fdea50dd71aef45af1811cece8993da8cad8d8 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Tue, 17 Dec 2019 09:23:38 -0500 Subject: [PATCH] [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. --- docs/reference/cat/snapshots.asciidoc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/reference/cat/snapshots.asciidoc b/docs/reference/cat/snapshots.asciidoc index 59a23fae00f..430f0dcd0fe 100644 --- a/docs/reference/cat/snapshots.asciidoc +++ b/docs/reference/cat/snapshots.asciidoc @@ -13,8 +13,6 @@ more repositories. A snapshot is a backup of an index or running {es} cluster. `GET /_cat/snapshots/` -`GET /_cat/snapshots` - [[cat-snapshots-path-params]] ==== {api-path-parms-title} @@ -22,10 +20,9 @@ more repositories. A snapshot is a backup of an index or running {es} cluster. ``:: + -- -(Optional, string) Comma-separated list of snapshot repositories used to limit -the request. Accepts wildcard expressions. `_all` returns all repositories. +(Required, string) Snapshot repository used to limit the request. -If any repository fails during the request, {es} returns an error. +If the repository fails during the request, {es} returns an error. --