@GetMapping
    @RequiredPermission(CLUSTER_SETTING_QUERY)
    public HttpHandlerResult<ResponseDTO<SettingsDTO>> queryClusterSettings(
            boolean queryLocalSettings,
            boolean onlyMutable) {
        TurmsProperties properties = queryLocalSettings
                ? propertiesManager.getLocalProperties()
                : propertiesManager.getGlobalProperties();
        return HttpHandlerResult.okIfTruthy(new SettingsDTO(
                TurmsProperties.SCHEMA_VERSION,
                convertPropertiesToValueMap(properties, onlyMutable)));
    }
@author James Chen
@implNote These APIs should be designed to work for the cluster settings instead of the local
          node settings by default consistently because it is "cluster/settings".
turms-service/src/main/java/im/turms/service/domain/cluster/access/admin/controller/SettingController.java