code: func (r *createProtoResourcesRequest) Decode(req *http.Request) error {
  	ctx := req.Context()
  	id, err := extractProtoID(ctx)
  	if err != nil {
  		return err
  	}
  
  	r.ProtoID = id
  
  	if err := json.NewDecoder(req.Body).Decode(r); err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // Decode turns an http request into a createProtoResourceRequest.