Get settings for the Watcher internal index (.watches).
Only a subset of settings are shown, for example index.auto_expand_replicas and index.number_of_replicas.
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
GET /_watcher/settings
resp = client.watcher.get_settings()
const response = await client.watcher.getSettings();
response = client.watcher.get_settings
$resp = $client->watcher()->getSettings();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_watcher/settings"
client.watcher().getSettings(g -> g);
{
"index": {
"auto_expand_replicas": "0-4",
"number_of_replicas": 0
}
}