MCPcopy Create free account
hub / github.com/AstrBotDevs/AstrBot / patch_plugin_extension_route

Function patch_plugin_extension_route

astrbot/dashboard/api/plugins.py:406–411  ·  view source on GitHub ↗
(
    plugin_path: str,
    request: Request,
    auth: AuthContext = Depends(require_plugin_scope),
)

Source from the content-addressed store, hash-verified

404
405@router.patch("/plugins/extensions/{plugin_path:path}")
406async def patch_plugin_extension_route(
407 plugin_path: str,
408 request: Request,
409 auth: AuthContext = Depends(require_plugin_scope),
410):
411 return await _call_plugin_extension(plugin_path, request, auth.username)
412
413
414@router.delete("/plugins/extensions/{plugin_path:path}")

Callers

nothing calls this directly

Calls 1

_call_plugin_extensionFunction · 0.85

Tested by

no test coverage detected