feat: add plugin history endpoint to fetch remote update details

This commit is contained in:
jxxghp
2026-06-02 07:12:13 +08:00
parent db522e8829
commit 1c41d9f253
3 changed files with 151 additions and 0 deletions

View File

@@ -74,6 +74,12 @@ MoviePilot 实现了标准的 **Model Context Protocol (MCP)**,允许 AI 智
## 6. RESTful API
所有工具相关的API端点都在 `/api/v1/mcp` 路径下(保持向后兼容)。
### 插件补充接口
**GET** `/api/v1/plugin/history/{plugin_id}`
按需读取指定已安装插件的最新远端更新说明。该接口用于前端在用户点击“查看更新说明”时再实时访问插件仓库,避免加载已安装插件列表时批量请求网络。
### 1. 列出所有工具
**GET** `/api/v1/mcp/tools`