code: func (h *BucketHandler) handlePostBucket(w http.ResponseWriter, r *http.Request) {
  	ctx := r.Context()
  
  	req, err := decodePostBucketRequest(ctx, r)
  	if err != nil {
  		EncodeError(ctx, err, w)
  		return
  	}
  
  	if err := h.BucketService.CreateBucket(ctx, req.Bucket); err != nil {
  		EncodeError(ctx, err, w)
  		return
  	}
  
  	if err := encodeResponse(ctx, w, http.StatusCreated, newBucketResponse(req.Bucket, []*platform.Label{})); err != nil {
  		logEncodingError(h.Logger, r, err)
  		return
  	}
  }
docs: // handlePostBucket is the HTTP handler for the POST /api/v2/buckets route.