How to get discovery.zen.minimum_master_nodes setting

Hi.

I know one can set the discovery.zen.minimum_master_node within the config file and by using the cluster update settings API.
But how to get the current setting?
What if one start a node with minimum_master_node = 1 and another node with minimum_master_node = 2?

Thanks.

GET /_cluster/settings if you have set it via the API.

It'll take the setting from the current master node.