CAT repositories

Introduced 1.0

The CAT repositories operation lists all snapshot repositories for a cluster.

Path and HTTP methods

  1. GET _cat/repositories

URL parameters

All CAT repositories URL parameters are optional.

In addition to the common URL parameters, you can specify the following parameters:

ParameterTypeDescription
localBooleanWhether to return information from the local node only instead of from the cluster manager node. Default is false.
cluster_manager_timeoutTimeThe amount of time to wait for a connection to the cluster manager node. Default is 30 seconds.

Example request

The following example request lists all snapshot repositories in the cluster:

  1. GET _cat/repositories?v

copy

Example response

  1. id type
  2. repo1 fs
  3. repo2 s3