Rest API to query the cluster status, and node role.