code: func (h *Handler) handleGetShardsMax(w http.ResponseWriter, r *http.Request) {
  	if !validHeaderAcceptJSON(r.Header) {
  		http.Error(w, "JSON only acceptable response", http.StatusNotAcceptable)
  		return
  	}
  	if err := json.NewEncoder(w).Encode(getShardsMaxResponse{
  		Standard: h.api.MaxShards(r.Context()),
  	}); err != nil {
  		h.logger.Printf("write shards-max response error: %s", err)
  	}
  }
docs: // handleGetShardsMax handles GET /internal/shards/max requests.