code: func (h *DashboardHandler) handlePostDashboard(w http.ResponseWriter, r *http.Request) {
  	ctx := r.Context()
  
  	req, err := decodePostDashboardRequest(ctx, r)
  	if err != nil {
  		EncodeError(ctx, err, w)
  		return
  	}
  	if err := h.DashboardService.CreateDashboard(ctx, req.Dashboard); err != nil {
  		EncodeError(ctx, errors.InternalErrorf("Error loading dashboards: %v", err), w)
  		return
  	}
  
  	if err := encodeResponse(ctx, w, http.StatusCreated, newDashboardResponse(req.Dashboard, []*platform.Label{})); err != nil {
  		logEncodingError(h.Logger, r, err)
  		return
  	}
  }
docs: // handlePostDashboard creates a new dashboard.