code: func (e APIEndpoint) ToV1Endpoint(userAgent string, metaHeaders http.Header) *V1Endpoint {
  	return newV1Endpoint(*e.URL, e.TLSConfig, userAgent, metaHeaders)
  }
docs: // ToV1Endpoint returns a V1 API endpoint based on the APIEndpoint