跳转到主要内容
GET
/
plugin
/
{pluginId}
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/plugin/{pluginId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "logo": "<string>",
  "positions": [
    "dashboard"
  ],
  "secret": "<string>",
  "status": "developing",
  "createdTime": "<string>",
  "lastModifiedTime": "<string>",
  "description": "<string>",
  "detailDesc": "<string>",
  "config": {
    "contextMenu": {
      "width": 123,
      "height": 123,
      "x": 123,
      "y": 123,
      "frozenResize": true,
      "frozenDrag": true
    },
    "view": "<unknown>",
    "dashboard": "<unknown>",
    "panel": "<unknown>"
  },
  "url": "<string>",
  "helpUrl": "<string>",
  "i18n": {
    "en": {
      "title": "Plugin title",
      "description": "Plugin description"
    },
    "zh": {
      "title": "插件标题",
      "description": "插件描述"
    }
  },
  "pluginUser": {
    "id": "<string>",
    "name": "<string>",
    "email": "[email protected]",
    "avatar": "<string>"
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

pluginId
string
必填

响应

200 - application/json

Returns data about the plugin.

id
string
必填
name
string
必填
positions
enum<string>[]
必填
可用选项:
dashboard,
view,
contextMenu,
panel
secret
string
必填
status
enum<string>
必填
可用选项:
developing,
reviewing,
published
createdTime
string
必填
lastModifiedTime
string
必填
description
string
detailDesc
string
config
object
url
string
helpUrl
string
i18n
object
示例:
{
"en": {
"title": "Plugin title",
"description": "Plugin description"
},
"zh": { "title": "插件标题", "description": "插件描述" }
}
pluginUser
object
Last modified on December 10, 2025