MCPcopy Create free account
hub / github.com/Tong89/smartNode / get

Method get

frontend/src/api/client.ts:175–177  ·  view source on GitHub ↗

Convenience GET helper.

(path: string, options?: RequestOptions)

Source from the content-addressed store, hash-verified

173
174 /** Convenience GET helper. */
175 get<T>(path: string, options?: RequestOptions): Promise<T> {
176 return this.request<T>(path, { ...options, method: 'GET' });
177 }
178
179 /** Convenience POST helper. */
180 post<T>(path: string, body: unknown, options?: RequestOptions): Promise<T> {

Callers 15

resolveApiBaseFunction · 0.45
fetchJsonFunction · 0.45
updateSceneFunction · 0.45
updateRequestLinksFunction · 0.45
resolveApiBaseFunction · 0.45
requestMethod · 0.45
fetchHealthFunction · 0.45
fetchDataFunction · 0.45
fetchSystemInfoFunction · 0.45
fetchResourceStatusFunction · 0.45
fetchResourceUtilizationFunction · 0.45
fetchResourceTimelineFunction · 0.45

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected