跳到主要内容
版本:2.1.0

获取指定插件信息

GET /plugins/{id} HTTP/1.1

请求

方法

GET

路径参数

参数名说明
id插件 Id

响应

状态码

  • 200
    • 插件存在
  • 404
    • 插件不存在

内容

字段类型说明
-IPlugin插件

响应示例

{
"data": {
"fileName": "D:\\Serein\\plugins\\MyPlugin\\MyPlugin.dll",
"info": {
"name": "我的插件",
"id": "MyPlugin",
"version": "1.2.3.4",
"type": 2,
"authors": [],
"description": "net",
"tags": [0, 1, 2, 3, 4, 5],
"dependencies": [
{
"id": "dependency-1",
"version": []
}
],
"entryFile": "MyPlugin.dll",
"targets": {
"min": null,
"max": null
}
},
"isEnabled": true
},
"errorMsg": null,
"details": [],
"time": "2025-07-04T19:49:22.9714279+08:00"
}