MCPcopy
hub / github.com/PostHog/posthog / addPathComponent

Method addPathComponent

frontend/src/lib/api.ts:120–123  ·  view source on GitHub ↗
(component: string | number)

Source from the content-addressed store, hash-verified

118 // Generic endpoint composition
119
120 private addPathComponent(component: string | number): ApiRequest {
121 this.pathComponents.push(component.toString())
122 return this
123 }
124
125 public withQueryString(queryString?: string): ApiRequest {
126 this.queryString = queryString

Callers 15

withActionMethod · 0.95
currentMethod · 0.95
organizationsMethod · 0.95
projectsMethod · 0.95
pluginsMethod · 0.95
pluginLogsMethod · 0.95
licensesMethod · 0.95
organizationsDetailMethod · 0.80
projectsDetailMethod · 0.80
insightsMethod · 0.80

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected