跳到正文

CAT 仓库 ​

1.0 版本引入

CAT 仓库操作列出集群的所有快照仓库。

示例 ​

GET _cat/repositories?v

路径和 HTTP 方法 ​

GET _cat/repositories

URL 参数 ​

所有 CAT 仓库 URL 参数都是可选的。

除了通用 URL 参数外,你还可以指定以下参数:

参数类型描述
local布尔值是否仅从本地节点返回信息,而不是从集群管理器节点返回。默认为 false。
cluster_manager_timeout时间等待连接到集群管理器节点的时间量。默认为 30 秒。

响应 ​

json
id    type
repo1   fs
repo2   s3