- logs
- stats
- system
- settings
- plugins
- user
- provider
- pipelines
- platform
- files
- knowledge
获取已加载的插件的信息
测试中
GET
/api/v1/plugins/{author}/{plugin_name}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
author
string
必需
plugin_name
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/plugins//'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 0,
"data": {
"plugin": {
"author": "RockChinQ",
"config_schema": [
{
"description": {
"en_US": "Picture downloading may be failed if this is not provided",
"zh_CN": "如果不提供的话,获取图片可能会失败"
},
"label": {
"en_US": "GitHub Token",
"zh_CN": "GitHub 密钥"
},
"name": "github_token",
"required": false,
"type": "string"
}
],
"description": {
"en_US": "Send Nahida Images",
"zh_CN": "发送纳西妲图片"
},
"enabled": true,
"event_handlers": {},
"label": {
"en_US": "Nahida",
"zh_CN": "发纳西妲图片"
},
"main_file": "plugins/Nahida/main.py",
"name": "Nahida",
"pkg_path": "plugins/Nahida",
"priority": 0,
"repository": "https://github.com/RockChinQ/Nahida",
"status": "initialized",
"tools": [],
"version": "0.1.0"
}
},
"msg": "ok"
}
修改于 2025-04-14 04:53:49