MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / _getIngestEndpoint

Function _getIngestEndpoint

packages/core/src/api.ts:16–18  ·  view source on GitHub ↗

Returns the ingest API endpoint for target.

(dsn: DsnComponents)

Source from the content-addressed store, hash-verified

14
15/** Returns the ingest API endpoint for target. */
16function _getIngestEndpoint(dsn: DsnComponents): string {
17 return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/envelope/`;
18}
19
20/** Returns a URL-encoded string with auth config suitable for a query string. */
21function _encodedAuth(dsn: DsnComponents, sdkInfo: SdkInfo | undefined): string {

Callers 1

Calls 1

getBaseApiEndpointFunction · 0.85

Tested by

no test coverage detected