MCPcopy
hub / github.com/hasura/graphql-engine / GetV1QueryEndpoint

Method GetV1QueryEndpoint

cli/cli.go:263–267  ·  view source on GitHub ↗

GetQueryEndpoint provides the url to contact the query API

()

Source from the content-addressed store, hash-verified

261
262// GetQueryEndpoint provides the url to contact the query API
263func (c *ServerConfig) GetV1QueryEndpoint() string {
264 nurl := *c.ParsedEndpoint
265 nurl.Path = path.Join(nurl.Path, c.APIPaths.V1Query)
266 return nurl.String()
267}
268
269func (c *ServerConfig) GetV2QueryEndpoint() string {
270 nurl := *c.ParsedEndpoint

Callers 1

ValidateMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected