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

Method GetVersionEndpoint

cli/cli.go:256–260  ·  view source on GitHub ↗

GetVersionEndpoint provides the url to contact the version API

()

Source from the content-addressed store, hash-verified

254
255// GetVersionEndpoint provides the url to contact the version API
256func (c *ServerConfig) GetVersionEndpoint() string {
257 nurl := *c.ParsedEndpoint
258 nurl.Path = path.Join(nurl.Path, c.APIPaths.Version)
259 return nurl.String()
260}
261
262// GetQueryEndpoint provides the url to contact the query API
263func (c *ServerConfig) GetV1QueryEndpoint() string {

Callers 3

ValidateMethod · 0.80
checkServerVersionMethod · 0.80
ExecuteMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected