MCPcopy Index your code
hub / github.com/deepnote/deepnote / getApiEndpoint

Function getApiEndpoint

packages/cli/src/utils/deepnote-api.ts:9–11  ·  view source on GitHub ↗
(domain: string)

Source from the content-addressed store, hash-verified

7 * Gets the API endpoint for a given domain.
8 */
9export function getApiEndpoint(domain: string): string {
10 return `https://api.${domain}`
11}
12
13/**
14 * Parses an error message from a Deepnote API response.

Callers 2

initImportFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected