MCPcopy Create free account
hub / github.com/bytebase/bytebase / getInstance

Method getInstance

frontend/tests/e2e/framework/api-client.ts:325–327  ·  view source on GitHub ↗
(instanceName: string)

Source from the content-addressed store, hash-verified

323
324 // Instances
325 async getInstance(instanceName: string) {
326 return this.request<{ name: string; dataSources: { id: string; port: string; host: string }[] }>("GET", `/v1/${instanceName}`);
327 }
328
329 async updateInstanceDataSource(instanceName: string, dataSourceId: string, port: string) {
330 return this.request<unknown>("PATCH",

Callers 3

createInstanceSliceFunction · 0.80
getInstancePgPortFunction · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected