MCPcopy
hub / github.com/AstrBotDevs/AstrBot / put

Function put

dashboard/src/api/v1.ts:1338–1344  ·  view source on GitHub ↗
(pluginPath: string, data?: unknown, config?: AxiosRequestConfig)

Source from the content-addressed store, hash-verified

1336 );
1337 },
1338 put<T = any>(pluginPath: string, data?: unknown, config?: AxiosRequestConfig) {
1339 return apiV1Client.put<ApiEnvelope<T>>(
1340 `/plugins/extensions/${pluginExtensionPath(pluginPath)}`,
1341 data,
1342 config,
1343 );
1344 },
1345 patch<T = any>(pluginPath: string, data?: unknown, config?: AxiosRequestConfig) {
1346 return apiV1Client.patch<ApiEnvelope<T>>(
1347 `/plugins/extensions/${pluginExtensionPath(pluginPath)}`,

Callers

nothing calls this directly

Calls 2

pluginExtensionPathFunction · 0.85
putMethod · 0.45

Tested by

no test coverage detected