Let the platform do the work

/Administration/elasticsearch/replicas/status GET

Overview

[ADMIN] Elasticsearch index replica status

Summary

This endpoint returns the number of replicas for every index managed by SugarCRM. This endpoint is only available to administrators.

Response

{
  "aabbcc_contactsleads": "4",
  "aabbcc_accountsonly": "2",
  "aabbcc_shared": "1"
}

Change Log

Version Change
v10 Added /Administration/elasticsearch/replicas/status GET endpoint.