MCPcopy Index your code
hub / github.com/hasura/graphql-engine / GetV1MetadataEndpoint

Method GetV1MetadataEndpoint

cli/cli.go:288–292  ·  view source on GitHub ↗

GetQueryEndpoint provides the url to contact the query API

()

Source from the content-addressed store, hash-verified

286
287// GetQueryEndpoint provides the url to contact the query API
288func (c *ServerConfig) GetV1MetadataEndpoint() string {
289 nurl := *c.ParsedEndpoint
290 nurl.Path = path.Join(nurl.Path, c.APIPaths.V1Metadata)
291 return nurl.String()
292}
293
294// GetVersionEndpoint provides the url to contact the config API
295func (c *ServerConfig) getConfigEndpoint() string {

Callers 1

ValidateMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected