restrictToMaster();
checkPermission(RestPermissions.DASHBOARDS_READ, dashboardId);
try {
Dashboard dashboard = dashboardService.load(dashboardId);
return json(dashboard.asMap());
} catch (org.graylog2.database.NotFoundException e) {
throw new WebApplicationException(404);
}
}