code: @GET
  	@Produces(MediaType.APPLICATION_JSON)
  	@Path("/{dashboardId}")
  	@Description("Returns a dashboard by its ID.")
  	public DashboardDto getDashboardByID(@Context HttpServletRequest req,
  			@PathParam("dashboardId") BigInteger dashboardId) {
  		if (dashboardId == null || dashboardId.compareTo(BigInteger.ZERO) < 1) {
  			throw new WebApplicationException("Dashboard Id cannot be null and must be a positive non-zero number.", Status.BAD_REQUEST);
  		}
  
  		Dashboard dashboard = dService.findDashboardByPrimaryKey(dashboardId);
  
  		if (dashboard != null && !dashboard.isShared()) {
  			validateAndGetOwner(req, null);
  			validateResourceAuthorization(req, dashboard.getOwner(), getRemoteUser(req));
  		}
  		if (dashboard != null) {
  			return DashboardDto.transformToDto(dashboard);
  		}
  		throw new WebApplicationException(Response.Status.NOT_FOUND.getReasonPhrase(), Response.Status.NOT_FOUND);
  	}
docs: Returns a dashboard by its ID.
  
  @param   req          The HTTP request.
  @param   dashboardId  The dashboard ID to retrieve.
  
  @return  The corresponding dashboard.
  
  @throws  WebApplicationException  If no corresponding dashboard exists.