make dashboards only communicate with master nodes

extended ApiClient to be able to easily select master node as target. cc @kroepke