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

Function update_releases

astrbot/dashboard/api/updates.py:104–108  ·  view source on GitHub ↗
(
    _auth: AuthContext = Depends(require_system_scope),
    service: UpdateService = Depends(get_service),
)

Source from the content-addressed store, hash-verified

102
103@router.get("/updates/releases")
104async def update_releases(
105 _auth: AuthContext = Depends(require_system_scope),
106 service: UpdateService = Depends(get_service),
107):
108 return await _run(service.get_releases)
109
110
111@legacy_router.get("/releases")

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected