return dashboardFactory.fromSummaryResponse(d);
}
public List<Dashboard> getAll() throws APIException, IOException {
List<Dashboard> dashboards = Lists.newArrayList();
GetDashboardsResponse response = api.path(routes.DashboardsResource().list(), GetDashboardsResponse.class)
.onlyMasterNode()
.execute();
if (response == null || response.dashboards == null) {
return dashboards;